ContRap-Libraries
|
Class GLTriangle represents triangles constructed from already existing points. More...
#include <gltriangle.h>
Public Member Functions | |
GLIndexTriangle (GLPoint *a, GLPoint *b, GLPoint *c) | |
Creates the triangle. | |
~GLIndexTriangle () | |
Destructor. | |
void | make_display_list (GLStyle flags) const |
Draws the point into an OpenGL display list. | |
GLPrimitiveType | get_type () |
Type of the primitive. | |
void | set_texture (GLuint texture) |
Sets the texture handle. |
Class GLTriangle represents triangles constructed from already existing points.
Creates the triangle.
crp::GLIndexTriangle::~GLIndexTriangle | ( | ) |
Destructor.
GLPrimitiveType crp::GLIndexTriangle::get_type | ( | ) | [inline] |
Type of the primitive.
void crp::GLIndexTriangle::make_display_list | ( | GLStyle | flags | ) | const |
Draws the point into an OpenGL display list.
void crp::GLIndexTriangle::set_texture | ( | GLuint | texture | ) | [inline] |
Sets the texture handle.