vrheights

diff src/material.h @ 8:3f221bdc9bab

mesh loading walk polys
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 03 Oct 2014 04:16:16 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/material.h	Fri Oct 03 04:16:16 2014 +0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +#ifndef MATERIAL_H_
     1.5 +#define MATERIAL_H_
     1.6 +
     1.7 +#include <vmath/vmath.h>
     1.8 +
     1.9 +class Material {
    1.10 +public:
    1.11 +	Vector3 diffuse, specular;
    1.12 +	float shininess;
    1.13 +	float alpha;
    1.14 +
    1.15 +	unsigned int tex;
    1.16 +
    1.17 +	Material();
    1.18 +
    1.19 +	void setup() const;
    1.20 +};
    1.21 +
    1.22 +#endif	// MATERIAL_H_