Tangents /

#includecinder/GeomIo.h

Creates TANGENT and BITANGENT attributes based on POSITIONS, NORMALS and TEX_COORD_0. Requires indexed geometry.


Public Member Functions

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