From c7dad1e929c0101386fbcdaa194e402d68f74752 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 23 Aug 2017 22:56:53 +0100 Subject: Updating docs --- structyage_1_1Vertex.html | 364 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 364 insertions(+) create mode 100644 structyage_1_1Vertex.html (limited to 'structyage_1_1Vertex.html') diff --git a/structyage_1_1Vertex.html b/structyage_1_1Vertex.html new file mode 100644 index 00000000..2112d288 --- /dev/null +++ b/structyage_1_1Vertex.html @@ -0,0 +1,364 @@ + + + + + + + +YAGE: yage::Vertex Struct Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Vertex Struct Reference
+
+
+ +

#include <vertex.hpp>

+ + + + + + + + + + + + +

+Public Member Functions

 Vertex ()=default
 
 Vertex (const Position &position_, const Color &color_, const UV &uv_)
 
void setPosition (float x, float y)
 
void setColor (GLubyte r, GLubyte g, GLubyte b, GLubyte a)
 
void setUv (float u, float v)
 
+ + + + + + + +

+Public Attributes

Position position
 
Color color
 
UV uv
 
+

Constructor & Destructor Documentation

+ +

◆ Vertex() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
yage::Vertex::Vertex ()
+
+default
+
+ +
+
+ +

◆ Vertex() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
yage::Vertex::Vertex (const Positionposition_,
const Colorcolor_,
const UVuv_ 
)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ setColor()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void yage::Vertex::setColor (GLubyte r,
GLubyte g,
GLubyte b,
GLubyte a 
)
+
+inline
+
+ +
+
+ +

◆ setPosition()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void yage::Vertex::setPosition (float x,
float y 
)
+
+inline
+
+ +
+
+ +

◆ setUv()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void yage::Vertex::setUv (float u,
float v 
)
+
+inline
+
+ +
+
+

Member Data Documentation

+ +

◆ color

+ +
+
+ + + + +
Color yage::Vertex::color
+
+ +
+
+ +

◆ position

+ +
+
+ + + + +
Position yage::Vertex::position
+
+ +
+
+ +

◆ uv

+ +
+
+ + + + +
UV yage::Vertex::uv
+
+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + -- cgit