Defaults to a plane on the z axis, origin = [0, 0, 0], normal = [0, 1, 0].


Public Member Functions

  • Plane ()
  • subdivisions (const ivec2 &subdivisions)
  • axes (const vec3 &uAxis, const vec3 &vAxis)
  • origin (const vec3 &origin)
  • normal (const vec3 &normal)
  • 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
    forceCopyIndicesTrianglesImpl (T *dest) const

Protected Attributes

  • ivec2
    mSubdivisions
  • vec2
    mSize
  • vec3
    mOrigin
  • vec3
    mAxisU
  • vec3
    mAxisV