Open ehmry opened 1 month ago
When building with the Nim-2.2.0 release the Uniform[T] types are not being implicitly converted to T.
Uniform[T]
T
examples/triangle.nim(17, 21) Error: type mismatch Expression: MVP * vec4(vPos.arr[0], vPos.arr[1], 0.0, 1.0) [1] MVP: Uniform[vmath.Mat4] [2] vec4(vPos.arr[0], vPos.arr[1], 0.0, 1.0): Vec4 Expected one of (first mismatch at [position]): [1] proc `*`[T](a: GMat4[T]; b: GVec4[T]): GVec4[T]
https://github.com/NixOS/nixpkgs/issues/350913
I need to look into this. I think I ran into this as well will probably have a fix soon.
https://github.com/nim-lang/Nim/issues/24415
When building with the Nim-2.2.0 release the
Uniform[T]
types are not being implicitly converted toT
.https://github.com/NixOS/nixpkgs/issues/350913