1
0
Fork 0

Initial commit

This commit is contained in:
Henrik Hautakoski 2015-12-22 17:43:51 +01:00
commit edfc5298e1
252 changed files with 93965 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#include <Spectre/Graphics/Vertex2D.h>
Vertex2D::Vertex2D() :
position (0.0f),
color (1.0f),
uv (0.0f)
{
}
Vertex2D::Vertex2D(Vector2f _pos) :
position (_pos),
color (1.0f),
uv (0.0f)
{
}
Vertex2D::Vertex2D(Vector2f _pos, Vector2f _uv) :
position (_pos),
color (1.0f),
uv (_uv)
{
}
Vertex2D::Vertex2D(Vector2f _pos, Vector3f _color, Vector2f _uv) :
position (_pos),
color (_color),
uv (_uv)
{
}