mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 07:28:12 +08:00
15 lines
366 B
C++
15 lines
366 B
C++
#pragma once
|
|
|
|
#include "vertex.h"
|
|
|
|
Vertex::Vertex() {}
|
|
|
|
Vertex::Vertex(glm::vec3 position) :
|
|
_position(position) {}
|
|
|
|
Vertex::Vertex(glm::vec3 position, glm::vec3 normal) :
|
|
_position(position), _normal(normal) {}
|
|
|
|
Vertex::Vertex(glm::vec3 position, glm::vec3 normal, glm::vec2 texCoords) :
|
|
_position(position), _normal(normal), _texCoords(texCoords) {}
|