erebus

diff liberebus/src/color.h @ 46:c4d48a21bc4a

in the middle of the vmath->gph-math port
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 24 Feb 2016 00:26:50 +0200
parents bab25c0ce337
children
line diff
     1.1 --- a/liberebus/src/color.h	Tue Dec 29 12:19:53 2015 +0200
     1.2 +++ b/liberebus/src/color.h	Wed Feb 24 00:26:50 2016 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  
     1.5  #include <gmath/gmath.h>
     1.6  
     1.7 -typedef Vector4 Color;
     1.8 +typedef Vec4 Color;
     1.9  
    1.10  inline float color_luminance(const Color &c) { return c[0] * 0.2126 + c[1] * 0.7152 + c[2] * 0.0722; }
    1.11