You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be GMat4[T]() or gmat4[T](), but not mat4[T]()
There is no proc mat4[T]() :GMat4[T]= .... at all, so this is trying resolve as a float32 with mat4() instead, and therefore breaks for every other type that's not based on f32
Minimal reproduction example:
import vmath
whenon:
let pos :GVec3[float]=gvec3[float](0'f, 0, 0)
let dir :GVec3[float]=gvec3[float](1'f, 1, 1)
let up :GVec3[float]=gvec3[float](0'f, 1, 0)
else:
let pos :GVec3[float32]=gvec3[float32](0'f, 0, 0)
let dir :GVec3[float32]=gvec3[float32](1'f, 1, 1)
let up :GVec3[float32]=gvec3[float32](0'f, 1, 0)
let rot = pos.lookAt(dir, up)
echo rot
The text was updated successfully, but these errors were encountered:
There is a typo in this line:
vmath/src/vmath.nim
Line 1348 in f4c6688
It should be
GMat4[T]()
orgmat4[T]()
, but notmat4[T]()
There is no
proc mat4[T]() :GMat4[T]= ....
at all, so this is trying resolve as a float32 withmat4()
instead, and therefore breaks for every other type that's not based on f32Minimal reproduction example:
The text was updated successfully, but these errors were encountered: