Logo Search packages:      
Sourcecode: labplot version File versions

void Plot3D::setLightComponent ( GLenum  property,
double  intensity,
unsigned  light = 0 
) [inherited]

This function is for convenience. It sets GL light properties with the equal r,g,b values and a blending alpha with value 1.0

Definition at line 128 of file qwt3d_lighting.cpp.

References Qwt3D::Plot3D::setLightComponent().

  setLightComponent(property,intensity,intensity,intensity,1.0, lightEnum(light));

Generated by  Doxygen 1.6.0   Back to index