Stellarium 0.12.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure

VertexP2 Struct Reference

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

#include <GenericVertexTypes.hpp>

List of all members.

Public Member Functions

 VertexP2 (const Vec2f position)
 Construct from a 2D position.
 VertexP2 (const float x, const float y)
 Construct from X and Y coordinates.
 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 28 of file GenericVertexTypes.hpp.

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

Construct from X and Y coordinates.

Definition at line 31 of file GenericVertexTypes.hpp.


The documentation for this struct was generated from the following file:
Generated on Thu Jan 31 14:05:47 2013 for Stellarium by  doxygen 1.6.3