Commit d7cf160e authored by Thomas Pitiot 's avatar Thomas Pitiot

surfaces OK pb couleurs

parent f0feda38
#ifndef _Triangle_H_
#define _Triangle_H_
class Surface;
class Triangle
{
public:
Triangle(VEC3 p1, VEC3 p2, VEC3 p3,Surface * surf =NULL,Dart d=NIL,float rouge=0,float green =0, float blue=1.0f) :
p1(p1),p2(p2),p3(p3),surf(surf),cell(d),r(rouge),g(green),b(blue)
{
}
// colors
VEC3 p1,p2,p3;
Surface * surf ;
Dart cell;
float r;
float g;
float b;
} ;
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment