TheCherno / Sparky

Cross-Platform High Performance 2D/3D game engine for people like me who like to write code.
Apache License 2.0
1.09k stars 222 forks source link

Changed math_func.h and created a Color class #93

Closed cappah closed 8 years ago

cappah commented 8 years ago

Added some functions and made static in math_func.h wrapped in a struct. Created a Color class with static colors and user can modify the brilliance and create custom colors. Updated clamp calls.