Closed bramp closed 6 years ago
OpenGL's glm does not require a normalised vector, and porting some C++ to Go bite me. I've also added a couple of tests for this behaviour, which I confirmed was correct by comparing to WolframAlpha
Ah, I wasn't aware that GLM didn't require normalization. I wanted to avoid it for performance. This is a good change, thanks.
OpenGL's glm does not require a normalised vector, and porting some C++ to Go bite me. I've also added a couple of tests for this behaviour, which I confirmed was correct by comparing to WolframAlpha