Closed TryExceptElse closed 6 years ago
vectors should be represented by a c-struct, not unnamed length 2 or length 3 arrays. This will be useful when these vectors are passed to c libraries for vector and matrix operations.
https://github.com/jobtalle/ccVector has implementations of vec2, vec3 and matrices that could be wrapped.
vectors should be represented by a c-struct, not unnamed length 2 or length 3 arrays. This will be useful when these vectors are passed to c libraries for vector and matrix operations.