include color3d Color3D Color3D GLfloat GLfloat GLfloat GLfloat this-

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#include "color3d.h"
Color3D::Color3D(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
{
this->r = r;
this->g = g;
this->b = b;
this->a = a;
}
Color3D Red = Color3D(1.0f, 0.0f, 0.0f, 1.0f);
Color3D Green = Color3D(0.0f, 1.0f, 0.0f, 1.0f);
Color3D Blue = Color3D(0.0f, 0.0f, 1.0f, 1.0f);