We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d83470 commit 2279340Copy full SHA for 2279340
1 file changed
crates/processing_pyo3/src/lib.rs
@@ -613,6 +613,10 @@ mod mewnala {
613
const QUARTER_PI: f32 = std::f32::consts::FRAC_PI_4;
614
#[pymodule_export]
615
const TAU: f32 = std::f32::consts::TAU;
616
+ #[pymodule_export]
617
+ const DEG_TO_RAD: f32 = std::f32::consts::PI / 180.0;
618
619
+ const RAD_TO_DEG: f32 = 180.0 / std::f32::consts::PI;
620
621
// color space constants for color_mode()
622
0 commit comments