ShapeSphere

Undocumented in source.

Constructors

this
this(float radius, int slices, int stacks, bool invNormals, Owner owner)
Undocumented in source.

Members

Variables

daIndices
Array!(uint[3]) daIndices;
Undocumented in source.
daNormals
Array!Vector3f daNormals;
Undocumented in source.
daTexcoords
Array!Vector2f daTexcoords;
Undocumented in source.
daVertices
Array!Vector3f daVertices;
Undocumented in source.

Inherited Members

From Mesh

dataReady
bool dataReady;
Undocumented in source.
canRender
bool canRender;
Undocumented in source.
vertices
Vector3f[] vertices;
Undocumented in source.
normals
Vector3f[] normals;
Undocumented in source.
texcoords
Vector2f[] texcoords;
Undocumented in source.
indices
uint[3][] indices;
Undocumented in source.
boundingBox
AABB boundingBox;
Undocumented in source.
vao
GLuint vao;
Undocumented in source.
vbo
GLuint vbo;
Undocumented in source.
nbo
GLuint nbo;
Undocumented in source.
tbo
GLuint tbo;
Undocumented in source.
eao
GLuint eao;
Undocumented in source.
~this
~this()
Undocumented in source.
calcBoundingBox
void calcBoundingBox()
Undocumented in source. Be warned that the author may not have intended to support it.
getTriangle
Triangle getTriangle(size_t faceIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(Triangle t) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
generateNormals
void generateNormals()
Undocumented in source. Be warned that the author may not have intended to support it.
prepareVAO
void prepareVAO()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(GraphicsState* state)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta