Transform /

#includecinder/GeomIo.h

"Bakes" a mat4 transformation into the positions, normals and tangents of a geom::Source . Promotes 2D positions to 3D.


Public Member Functions

  • clone () const override
  • uint8_t
    getAttribDims (Attrib attr, uint8_t upstreamDims) 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
  • getAvailableAttribs (const Modifier::Params &upstreamParams) const

Protected Attributes

  • mat4
    mTransform