My Project
Loading...
Searching...
No Matches
Variables
Plane Namespace Reference

Variables

std::vector< Vertexvertices
 
std::vector< unsigned int > indices
 

Variable Documentation

◆ indices

std::vector<unsigned int> Plane::indices
Initial value:
= {
0, 3, 2, 2, 1, 0,
}

◆ vertices

std::vector<Vertex> Plane::vertices
Initial value:
= {
{
glm::vec3(1.0f, 1.0f, -1.0f),
glm::vec2(0.0f, 0.0f),
glm::vec3(0.0f, 1.0f, 0.0f),
},
{
glm::vec3(-1.0f, 1.0f, -1.0f),
glm::vec2(2.0f, 0.0f),
glm::vec3(0.0f, 1.0f, 0.0f),
},
{
glm::vec3(-1.0f, 1.0f, 1.0f),
glm::vec2(2.0f, 2.0f),
glm::vec3(0.0f, 1.0f, 0.0f),
},
{
glm::vec3(1.0f, 1.0f, 1.0f),
glm::vec2(0.0f, 2.0f),
glm::vec3(0.0f, 1.0f, 0.0f),
},
}