VertexNormalLines /

#includecinder/GeomIo.h

Draws lines representing the Attrib::NORMALs for a geom::Source . Encodes 0 for base and 1 for normal into CUSTOM_0.


Public Member Functions

  • VertexNormalLines (float length, Attrib attrib=Attrib::NORMAL)
  • length (float len)
  • size_t
    getNumVertices (const Modifier::Params &upstreamParams) const override
  • size_t
    getNumIndices (const Modifier::Params &) const override
  • getPrimitive (const Modifier::Params &) const override
  • uint8_t
    getAttribDims (Attrib attr, uint8_t upstreamDims) const override
  • getAvailableAttribs (const Modifier::Params &upstreamParams) const override
  • clone () const override
  • process (SourceModsContext *ctx, const AttribSet &requestedAttribs) const override

Protected Attributes

  • float
    mLength
  • mAttrib