Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
30
source/Graphics/Vertex2D.cpp
Normal file
30
source/Graphics/Vertex2D.cpp
Normal 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)
|
||||
{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue