Twist /

#includecinder/GeomIo.h

Twists a geom::Source around a given axis.


Public Member Functions

  • Twist ()
  • axisStart (const vec3 &start)
  • axisEnd (const vec3 &end)
  • axis (const vec3 &start, const vec3 &end)
  • startAngle (float radians)
  • endAngle (float radians)
  • clone () const override
  • process (SourceModsContext *ctx, const AttribSet &requestedAttribs) const override
  • size_t
    getNumVertices (const Modifier::Params &upstreamParams) const
  • size_t
    getNumIndices (const Modifier::Params &upstreamParams) const
  • getPrimitive (const Modifier::Params &upstreamParams) const
  • uint8_t
    getAttribDims (Attrib attr, uint8_t upstreamDims) const
  • getAvailableAttribs (const Modifier::Params &upstreamParams) const

Protected Attributes

  • vec3
    mAxisStart
  • vec3
    mAxisEnd
  • float
    mStartAngle
  • float
    mEndAngle