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
  • void
    loadInto (Target *target, const AttribSet &requestedAttribs) const override
  • clone () const override

Protected Member Functions

  • void
    calculate () const
  • void
    calculateImplUV () const
  • void
    subdivide () const
  • void
    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