ContRap-Libraries
|
Class GLTriangle represents triangles in the three-dimensional space. More...
#include <gltriangle.h>
Public Member Functions | |
GLTriangle (const GLVertex &a, const GLVertex &b, const GLVertex &c) | |
Constructor from three points. | |
~GLTriangle () | |
Destructor. | |
void | make_display_list (int flags) const |
Draws the point into an OpenGL display list. | |
GLPrimitiveType | get_type () const |
Type of the primitive. |
Class GLTriangle represents triangles in the three-dimensional space.
Constructor from three points.
a | Base point of the triangle |
b | First side point |
c | Second side point |
crp::GLTriangle::~GLTriangle | ( | ) |
Destructor.
GLPrimitiveType crp::GLTriangle::get_type | ( | ) | const [inline, virtual] |
void crp::GLTriangle::make_display_list | ( | int | flags | ) | const [virtual] |
Draws the point into an OpenGL display list.
flags | Style flags used to filter out drawing |
Implements crp::GLPrimitive.