Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::CPUVertexArray::Vertex Class Reference

Packed vertex attributes. More...

Inherited by G3D::ArticulatedModel::Geometry::Face::Vertex.

Public Member Functions

 Vertex ()
 
 Vertex (const Point3 &p)
 
 Vertex (const Point3 &p, const Point2 &t)
 
void transformBy (const CoordinateFrame &cframe)
 

Public Attributes

Vector3 normal
 Part-space normal. More...
 
Point3 position
 Part-space position. More...
 
Vector4 tangent
 xyz = tangent, w = sign More...
 
Point2 texCoord0
 Texture coordinate 0. More...
 

Detailed Description

Packed vertex attributes.

48 bytes per vertex.

See also
Part::cpuVertexArray

Constructor & Destructor Documentation

◆ Vertex() [1/3]

G3D::CPUVertexArray::Vertex::Vertex ( )
inline

◆ Vertex() [2/3]

G3D::CPUVertexArray::Vertex::Vertex ( const Point3 p)
inline

◆ Vertex() [3/3]

G3D::CPUVertexArray::Vertex::Vertex ( const Point3 p,
const Point2 t 
)
inline

Member Function Documentation

◆ transformBy()

void G3D::CPUVertexArray::Vertex::transformBy ( const CoordinateFrame cframe)

Member Data Documentation

◆ normal

Vector3 G3D::CPUVertexArray::Vertex::normal

◆ position

Point3 G3D::CPUVertexArray::Vertex::position

◆ tangent

Vector4 G3D::CPUVertexArray::Vertex::tangent

◆ texCoord0

Point2 G3D::CPUVertexArray::Vertex::texCoord0

documentation generated on Wed Nov 24 2021 08:01:54 using doxygen 1.8.15