Stellarium 0.15.2
List of all members | Public Attributes | Static Public Attributes
OBJ::Vertex Struct Reference

A vertex struct holds the vertex itself (position), corresponding texture coordinates, normals, tangents and bitangents It does not use Vec3f etc. More...

#include <OBJ.hpp>

+ Collaboration diagram for OBJ::Vertex:

Public Attributes

GLfloat position [3]
 
GLfloat texCoord [2]
 
GLfloat normal [3]
 
GLfloat tangent [4]
 
GLfloat bitangent [3]
 

Static Public Attributes

static const Vertex EmptyVertex
 

Detailed Description

A vertex struct holds the vertex itself (position), corresponding texture coordinates, normals, tangents and bitangents It does not use Vec3f etc.

to be POD compliant (needed for offsetof in some compilers)

Definition at line 146 of file OBJ.hpp.


The documentation for this struct was generated from the following file: