Public Member Functions

  • Sphere ()
  • Sphere (const ci::Sphere &sphere)
  • colors (bool enable=true)
  • center (const vec3 &center)
  • radius (float radius)
  • 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

  • numRingsAndSegments (int *numRings, int *numSegments) const
  • forceCopyIndicesTrianglesImpl (T *dest) const

Protected Attributes

  • vec3
    mCenter
  • float
    mRadius
  • int
    mSubdivisions
  • bool
    mHasColors