ContRap-Libraries
|
Class GLCuboid represents cuboids. More...
#include <glcuboid.h>
Public Member Functions | |
GLCuboid (const GLVertex &position, double sx=0.1, double sy=0.1, double sz=0.1) | |
Constructor from the coordinates of the point. | |
~GLCuboid () | |
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 GLCuboid represents cuboids.
crp::GLCuboid::GLCuboid | ( | const GLVertex & | position, |
double | sx = 0.1 , |
||
double | sy = 0.1 , |
||
double | sz = 0.1 |
||
) |
Constructor from the coordinates of the point.
position | Position of the primitive |
size | Side length |
crp::GLCuboid::~GLCuboid | ( | ) |
Destructor.
GLPrimitiveType crp::GLCuboid::get_type | ( | ) | const [inline, virtual] |
void crp::GLCuboid::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.