Browse Source

Make trigonometry_extra module self-consistent

David Peter 2 years ago
parent
commit
eaa1effe85
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/math/trigonometry_extra.nbt

+ 2 - 0
modules/math/trigonometry_extra.nbt

@@ -1,3 +1,5 @@
+use math::functions
+
 fn cot(x: Scalar) -> Scalar = 1 / tan(x)
 fn cot(x: Scalar) -> Scalar = 1 / tan(x)
 fn acot(x: Scalar) -> Scalar = atan(1 / x)
 fn acot(x: Scalar) -> Scalar = atan(1 / x)