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

Protected Member Functions

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

Protected Attributes

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