Re:Raylib: a simple and easy-to-use library to enjoy game pr...
by potiuper on Thursday January 17, 2019 @10:38PM
(#18936842)
Prefer the use of types over preprocessor defines - ex: static const vs #define PI, RAD2DEG, etc. (https://github.com/raysan5/raylib/blob/master/src/raymath.h). Also, take a look at using the GLSL data types for vectors and matrices - https://www.khronos.org/opengl/wiki/Data_Type_(GLSL) along with explicit use of SSE when appropriate and supported.
[ Parent
| on HN ]
There are no comments on this comment yet.