Stellarium 0.12.4
List of all members | Public Member Functions | Public Attributes
VertexP3T2 Struct Reference

Vertex with a 3D position and a 2D texture coordinate. More...

#include <GenericVertexTypes.hpp>

Public Member Functions

 VertexP3T2 (const Vec3f &position, const Vec2f texCoord)
 Construct from a 3D position and 2D texture coordinate. More...
 
 VertexP3T2 (const Vec2f pos, const Vec2f texCoord)
 Construct from a 2D position, setting the z coord to 0, and 2D texture coordinate. More...
 
 VERTEX_ATTRIBUTES (Vec3f Position, Vec2f TexCoord)
 

Public Attributes

Vec3f position
 
Vec2f texCoord
 

Detailed Description

Vertex with a 3D position and a 2D texture coordinate.

Definition at line 40 of file GenericVertexTypes.hpp.

Constructor & Destructor Documentation

VertexP3T2::VertexP3T2 ( const Vec3f position,
const Vec2f  texCoord 
)
inline

Construct from a 3D position and 2D texture coordinate.

Definition at line 46 of file GenericVertexTypes.hpp.

VertexP3T2::VertexP3T2 ( const Vec2f  pos,
const Vec2f  texCoord 
)
inline

Construct from a 2D position, setting the z coord to 0, and 2D texture coordinate.

Definition at line 50 of file GenericVertexTypes.hpp.


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