Support Forum G3D Web Page |
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... | |
Packed vertex attributes.
48 bytes per vertex.
|
inline |
|
inline |
void G3D::CPUVertexArray::Vertex::transformBy | ( | const CoordinateFrame & | cframe | ) |
Vector3 G3D::CPUVertexArray::Vertex::normal |
Part-space normal.
Referenced by G3D::Tri::normal(), G3D::Tri::tangent2(), and G3D::ArticulatedModel::Geometry::Face::Vertex::Vertex().
Point3 G3D::CPUVertexArray::Vertex::position |
Vector4 G3D::CPUVertexArray::Vertex::tangent |
xyz = tangent, w = sign
Referenced by G3D::Tri::packedTangent(), G3D::Tri::tangent(), G3D::Tri::tangent2(), and G3D::ArticulatedModel::Geometry::Face::Vertex::Vertex().
Point2 G3D::CPUVertexArray::Vertex::texCoord0 |