Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Vertex, Normal, Texture, and (deprecated) Environment Mapping T2F_N3F_V3F format. More...
#include <gfxlib_struct.h>
Public Member Functions | |
GFXVertex () | |
GFXVertex (const QVector &vert, const Vector &norm, float s, float t) | |
GFXVertex (const Vector &vert, const Vector &norm, float s, float t) | |
GFXVertex (float x, float y, float z, float i, float j, float k, float s, float t) | |
GFXVertex & | SetTexCoord (float s, float t) |
GFXVertex & | SetNormal (const Vector &norm) |
GFXVertex & | SetVertex (const Vector &vert) |
GFXVertex & | SetTangent (const Vector &tgt, float parity=1.f) |
Vector | GetVertex () const |
const Vector & | GetConstVertex () const |
Vector | GetNormal () const |
Vector | GetPosition () const |
Vector | GetTangent () const |
float | GetTangentParity () const |
Public Attributes | |
float | s |
float | t |
float | i |
float | j |
float | k |
float | x |
float | y |
float | z |
float | tx |
float | ty |
float | tz |
float | tw |
Vertex, Normal, Texture, and (deprecated) Environment Mapping T2F_N3F_V3F format.
Definition at line 49 of file gfxlib_struct.h.
|
inline |
Definition at line 71 of file gfxlib_struct.h.
Definition at line 72 of file gfxlib_struct.h.
References SetNormal(), SetTexCoord(), and SetVertex().
Definition at line 78 of file gfxlib_struct.h.
References SetNormal(), SetTexCoord(), and SetVertex().
|
inline |
Definition at line 127 of file gfxlib_struct.h.
Referenced by quadsquare::RecomputeErrorAndLighting().
|
inline |
Definition at line 131 of file gfxlib_struct.h.
References i, j, k, and Vector.
Referenced by NormalizeNormals(), and GFXVertexList::RenormalizeNormals().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 101 of file gfxlib_struct.h.
Referenced by GFXVertex(), quadsquare::quadsquare(), quadsquare::RecomputeErrorAndLighting(), and GFXVertexList::RenormalizeNormals().
Definition at line 95 of file gfxlib_struct.h.
Referenced by GFXVertex().
Definition at line 108 of file gfxlib_struct.h.
Referenced by GFXVertex(), and GFXSphereVertexList::ProceduralModification().
float GFXVertex::i |
Definition at line 56 of file gfxlib_struct.h.
Referenced by GetNormal(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertex(), GFXVertexList::IndVtxCopy(), SphereMesh::InitSphere(), NormalizeNormals(), Mesh::PostProcessLoading(), GFXVertexList::RefreshDisplayList(), GFXVertexList::RenormalizeNormals(), SetNormal(), and GFXColorVertex::SetVtx().
float GFXVertex::j |
Definition at line 57 of file gfxlib_struct.h.
Referenced by GetNormal(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertex(), GFXVertexList::IndVtxCopy(), SphereMesh::InitSphere(), NormalizeNormals(), Mesh::PostProcessLoading(), GFXVertexList::RenormalizeNormals(), SetNormal(), and GFXColorVertex::SetVtx().
float GFXVertex::k |
Definition at line 58 of file gfxlib_struct.h.
Referenced by GetNormal(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertex(), GFXVertexList::IndVtxCopy(), SphereMesh::InitSphere(), NormalizeNormals(), Mesh::PostProcessLoading(), GFXVertexList::RenormalizeNormals(), SetNormal(), and GFXColorVertex::SetVtx().
float GFXVertex::s |
Definition at line 52 of file gfxlib_struct.h.
Referenced by GFXVertexList::BeginDrawState(), computeTangentspace(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertex(), GFXVertexList::IndVtxCopy(), SphereMesh::InitSphere(), GFXVertexList::RefreshDisplayList(), SetTexCoord(), and GFXColorVertex::SetVtx().
float GFXVertex::t |
Definition at line 53 of file gfxlib_struct.h.
Referenced by computeTangentspace(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertex(), GFXVertexList::IndVtxCopy(), SphereMesh::InitSphere(), GFXVertexList::RefreshDisplayList(), SetTexCoord(), and GFXColorVertex::SetVtx().
float GFXVertex::tw |
Definition at line 69 of file gfxlib_struct.h.
Referenced by GetTangentParity(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertexList::IndVtxCopy(), NormalizeTangents(), GFXVertexList::RefreshDisplayList(), SetTangent(), and SumTangent().
float GFXVertex::tx |
Definition at line 66 of file gfxlib_struct.h.
Referenced by GFXVertexList::BeginDrawState(), GetTangent(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertexList::IndVtxCopy(), NormalizeTangents(), GFXVertexList::RefreshDisplayList(), SetTangent(), and SumTangent().
float GFXVertex::ty |
Definition at line 67 of file gfxlib_struct.h.
Referenced by GetTangent(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertexList::IndVtxCopy(), NormalizeTangents(), GFXVertexList::RefreshDisplayList(), SetTangent(), and SumTangent().
float GFXVertex::tz |
Definition at line 68 of file gfxlib_struct.h.
Referenced by GetTangent(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertexList::IndVtxCopy(), NormalizeTangents(), GFXVertexList::RefreshDisplayList(), SetTangent(), and SumTangent().
float GFXVertex::x |
Definition at line 61 of file gfxlib_struct.h.
Referenced by computeTangentspace(), faceTSWeight(), GetConstVertex(), Mesh::GetPolys(), GetPosition(), GetVertex(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertex(), GFXVertexList::IndVtxCopy(), SphereMesh::InitSphere(), GFXVertexList::RefreshDisplayList(), SetVertex(), GFXColorVertex::SetVtx(), and updateMax().
float GFXVertex::y |
Definition at line 62 of file gfxlib_struct.h.
Referenced by computeTangentspace(), faceTSWeight(), Mesh::GetPolys(), GetPosition(), GetVertex(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertex(), GFXVertexList::IndVtxCopy(), SphereMesh::InitSphere(), SetVertex(), GFXColorVertex::SetVtx(), and updateMax().
float GFXVertex::z |
Definition at line 63 of file gfxlib_struct.h.
Referenced by computeTangentspace(), faceTSWeight(), Mesh::GetPolys(), GetPosition(), GetVertex(), GFXSphereVertexList::GFXSphereVertexList(), GFXVertex(), GFXVertexList::IndVtxCopy(), SphereMesh::InitSphere(), SetVertex(), GFXColorVertex::SetVtx(), and updateMax().