17 #ifndef AGXRENDER_COLOR_H
18 #define AGXRENDER_COLOR_H
39 :
agx::
Vec4f( 0.f, 0.f, 0.f, 1.f ) {}
42 explicit Color(
float r,
float g,
float b,
float a = 1.f )
47 :
agx::
Vec4f(color[0], color[1], color[2],
a) {}
78 return agx::Vec4d( (
double)
r(), (
double)
g(), (
double)
b(), (
double)
a() );