TryExceptElse / pyrostex

Python Procedural Spherical Texture
2 stars 1 forks source link

vectors should be represented by c-structs #3

Closed TryExceptElse closed 6 years ago

TryExceptElse commented 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.

TryExceptElse commented 6 years ago

https://github.com/jobtalle/ccVector has implementations of vec2, vec3 and matrices that could be wrapped.