erebus

diff liberebus/src/color.h @ 2:474a0244f57d

fixed specialization mistake fixed line endings added makefiles
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Apr 2014 06:31:10 +0300
parents 4abdce1361b9
children 9621beb22694
line diff
     1.1 --- a/liberebus/src/color.h	Mon Apr 28 05:58:22 2014 +0300
     1.2 +++ b/liberebus/src/color.h	Mon Apr 28 06:31:10 2014 +0300
     1.3 @@ -1,10 +1,10 @@
     1.4 -#ifndef COLOR_H_
     1.5 -#define COLOR_H_
     1.6 -
     1.7 -#include "vmath/vector.h"
     1.8 -
     1.9 -typedef Vector3 Color;
    1.10 -
    1.11 -inline float color_luminance(const Color &c) { return c[0] * 0.2126 + c[1] * 0.7152 + c[2] * 0.0722; }
    1.12 -
    1.13 -#endif	// COLOR_H_
    1.14 \ No newline at end of file
    1.15 +#ifndef COLOR_H_
    1.16 +#define COLOR_H_
    1.17 +
    1.18 +#include "vmath/vector.h"
    1.19 +
    1.20 +typedef Vector3 Color;
    1.21 +
    1.22 +inline float color_luminance(const Color &c) { return c[0] * 0.2126 + c[1] * 0.7152 + c[2] * 0.0722; }
    1.23 +
    1.24 +#endif	// COLOR_H_