16 using TVertexArray::TVertexArray;
31 } parameters{0.5f, 30, 40, 10};
Class to render a cone in OpenGL. Height of the cone is along the Z-axis where the tip is at (0,...
Definition Cone.h:13
void generate() override
Overridden from base class.
OpenGL base class and wrapper template for vertex arrays. Automates most of the things needed for pri...
Definition TVertexArray.h:20
Definition DemoRenderer.h:6
Parameters for generating the data.
Definition Cone.h:22
int slices
Definition Cone.h:30
int lines
Definition Cone.h:28
float height
Definition Cone.h:24
float angle
Definition Cone.h:26
#define _XGL_CLASS
Definition xgl/global.h:35