Stellarium 0.12.3
List of all members | Public Member Functions | Public Attributes
VertexP2 Struct Reference

Vertex with only a 2D position. More...

#include <GenericVertexTypes.hpp>

Public Member Functions

 VertexP2 (const Vec2f position)
 Construct from a 2D position. More...
 
 VertexP2 (const float x, const float y)
 Construct from X and Y coordinates. More...
 
 VERTEX_ATTRIBUTES (Vec2f Position)
 

Public Attributes

Vec2f position
 

Detailed Description

Vertex with only a 2D position.

Definition at line 27 of file GenericVertexTypes.hpp.

Constructor & Destructor Documentation

VertexP2::VertexP2 ( const Vec2f  position)
inline

Construct from a 2D position.

Definition at line 32 of file GenericVertexTypes.hpp.

VertexP2::VertexP2 ( const float  x,
const float  y 
)
inline

Construct from X and Y coordinates.

Definition at line 35 of file GenericVertexTypes.hpp.


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