The Fast Light Environment Kit
libflek_gl Global Functions
glColor
inline void glColor(const FVector4& v);
glColor is used to specify the current color.
This form takes an fVector4 as it's argument (RGBA).
inline void glColor(const FVector3& v);
This form takes an fVector3 as it's argument (RGB).
inline void glColor(const double& x, const double& y, const double& z, const double& w);
This form takes 4 doubles as it's arguments (RGBA).
inline void glColor(const double& x, const double& y, const double& z);
This form takes 3 doubles as it's arguments (RGB).
glMultMatrix
void glMultMatrix(const FMatrix4x4& M);
Multiply the current GL matrix by the fMatrix M.
This function is a wrapper around the GL function,
glMultMatrixd.
inline void glMultMatrix(const FArcball_Control& a);
Multiply the current GL matrix by an arcball rotation
matrix.
glNormal
inline void glNormal(const FVector4& v);
glNormal is used to specify the current normal.
This form takes an fVector4 as it's argument.
It ignores the w, or 4th term in the fVector4.
inline void glNormal(const FVector3& v);
This form takes an fVector3 as it's argument.
inline void glNormal(const FVector2& v, const double &z);
This form takes an fVector2 and a z value as it's arguments.
inline void glNormal(const double& x, const double& y, const double& z);
This form takes 3 doubles as it's arguments.
glRotate
inline void glRotate(const double &a, const FVector3 &v);
glRotate rotates the current transformation matrix by an angle a about an axis v.
inline void glRotate(const double &a, const double &x, const double &y, const double &z);
glRotate rotates the current transformation matrix by an angle a about an axis (x, y, z).
glScale
inline void glScale(const FVector3& v);
glScale scales the current transforamtion matrix by
an x, y and z scale component.
This form takes an fVector3 as it's argument.
inline void glScale(const double &x, const double &y=1, const double &z=1);
This form takes 3 doubles as it's argument.
glTexImage2D
inline void glTexImage2D(FImage* img, GLenum target=GL_TEXTURE_2D, GLint level=0);
This function loads an image for texturing in OpenGL.
glTranslate
inline void glTranslate(const FVector3& v);
glTranslate translates the current transforamtion matrix by
an x, y and z translation component.
This form takes an fVector3 as it's argument.
inline void glTranslate(const double &x, const double &y=0, const double &z=0);
This form takes 3 doubles as it's arguments.
glVertex
inline void glVertex(const FVector4& v);
glVertex is used within glBegin - glEnd pairs to specify point,
line, and polygon vertices. This form takes an fVector4 as
it's argument.
inline void glVertex(const FVector3& v);
This form of glVertex takes an fVector3 as it's argument.
inline void glVertex(const FVector2& v);
This form of glVertex takes an fVector2 as it's argument.
inline void glVertex(const double& x, const double& y, const double& z, const double& w);
This form of glVertex takes 4 doubles as it's arguments.
inline void glVertex(const double& x, const double& y, const double& z);
This form of glVertex takes 3 doubles as it's arguments.
inline void glVertex(const double& x, const double& y);
This form of glVertex takes 2 doubles as it's arguments.
© 2000 the Flek Development team.
Generated by ScanDoc
Last Updated: Tue May 15 8:50:06 2001