...import order

This commit is contained in:
Ronja 2020-10-17 19:43:53 +02:00
parent d2b3ccb745
commit 83c0a2168a
2 changed files with 7 additions and 9 deletions

View file

@ -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
}
}
}
import "math/vector" for Vector
import "luxe: math" for Math
import "math/repVal" for RepVal
import "math/Util" for Util

View file

@ -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