We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a61ad2 commit a9ed25eCopy full SHA for a9ed25e
1 file changed
crates/processing_pyo3/src/lib.rs
@@ -583,6 +583,10 @@ mod mewnala {
583
const QUARTER_PI: f32 = std::f32::consts::FRAC_PI_4;
584
#[pymodule_export]
585
const TAU: f32 = std::f32::consts::TAU;
586
+ #[pymodule_export]
587
+ const DEG_TO_RAD: f32 = std::f32::consts::PI / 180.0;
588
589
+ const RAD_TO_DEG: f32 = 180.0 / std::f32::consts::PI;
590
591
// color space constants for color_mode()
592
0 commit comments