diff --git a/Luxe/math/math.wren b/Luxe/math/math.wren index c8624f0..3748f56 100644 --- a/Luxe/math/math.wren +++ b/Luxe/math/math.wren @@ -1,8 +1,3 @@ -import "math/vector" for Vector -import "luxe: math" for Math -import "math/repVal" for RepVal -import "math/Util" for Util - class M{ static inv_lerp(from, to, value){ //if the range are numbers, we assume the interpolation value is too @@ -98,4 +93,9 @@ class M{ static length(vector){ return sqr_length(vector).sqrt } -} \ No newline at end of file +} + +import "math/vector" for Vector +import "luxe: math" for Math +import "math/repVal" for RepVal +import "math/Util" for Util \ No newline at end of file diff --git a/Luxe/math/rect.wren b/Luxe/math/rect.wren index 5463159..fb35738 100644 --- a/Luxe/math/rect.wren +++ b/Luxe/math/rect.wren @@ -1,6 +1,3 @@ -import "math/vector" for Vector -//import M at end of file - class AABB{ x{_x} y{_y} @@ -100,4 +97,5 @@ class AABB{ } } +import "math/vector" for Vector import "math/math" for M \ No newline at end of file