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