diff --git a/crates/fj-math/src/scalar.rs b/crates/fj-math/src/scalar.rs index 90d7a1a9d..f582dbfb7 100644 --- a/crates/fj-math/src/scalar.rs +++ b/crates/fj-math/src/scalar.rs @@ -128,6 +128,11 @@ impl Scalar { self.0.round().into() } + /// Compute the sine + pub fn sin(self) -> Self { + self.0.sin().into() + } + /// Compute the cosine pub fn cos(self) -> Self { self.0.cos().into()