Public Member Functions

  • Cube ()
  • subdivisions (int sub)
  • subdivisionsX (int sub)
  • subdivisionsY (int sub)
  • subdivisionsZ (int sub)
  • size (const vec3 &sz)
  • size (float x, float y, float z)
  • size_t
    getNumVertices () const override
  • size_t
    getNumIndices () const override
  • getPrimitive () const override
  • uint8_t
    getAttribDims (Attrib attr) const override
  • getAvailableAttribs () const override
  • void
    loadInto (Target *target, const AttribSet &requestedAttribs) const override
  • clone () const override

Protected Member Functions

  • void
    forceCopyIndicesTrianglesImpl (T *dest) const

Protected Attributes

  • ivec3
    mSubdivisions
  • vec3
    mSize
  • bool
    mHasColors
  • std::array< ColorAf, 6 >
    mColors