Public Member Functions

  • Icosphere ()
  • colors (bool enable=true)
  • subdivisions (int sub)
  • size_t
    getNumVertices () const override
  • size_t
    getNumIndices () const override
  • getPrimitive () const override
  • uint8_t
    getAttribDims (Attrib attr) const override
  • getAvailableAttribs () const override
  • loadInto (Target *target, const AttribSet &requestedAttribs) const override
  • clone () const override

Protected Member Functions

  • calculate () const
  • calculateImplUV () const
  • subdivide () const
  • forceCopyIndicesTrianglesImpl (T *dest) const

Protected Attributes

  • int
    mSubdivision
  • bool
    mHasColors
  • bool
    mCalculationsCached
  • std::vector< vec3 >
    mPositions
  • std::vector< vec3 >
    mNormals
  • std::vector< vec3 >
    mColors
  • std::vector< vec2 >
    mTexCoords
  • std::vector< uint32_t >
    mIndices