Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
TestValues Namespace Reference

Functions

const std::vector< VertexGetTestVertices ()
 
const std::vector< uint32_t > GetTestIndices ()
 
const ImageData GetTestTexture ()
 

Variables

const std::vector< SimpleVertexkSimpleCubeVertices
 
const std::vector< uint32_t > kSimpleCubeIndices
 

Function Documentation

◆ GetTestIndices()

const std::vector< uint32_t > TestValues::GetTestIndices ( )

◆ GetTestTexture()

const ImageData TestValues::GetTestTexture ( )

◆ GetTestVertices()

const std::vector< Vertex > TestValues::GetTestVertices ( )

Variable Documentation

◆ kSimpleCubeIndices

const std::vector<uint32_t> TestValues::kSimpleCubeIndices
Initial value:
{
2, 1, 0, 0, 3, 2,
5, 6, 4, 6, 7, 4,
0, 1, 5, 5, 4, 0,
2, 3, 7, 2, 7, 6,
1, 2, 6, 6, 5, 1,
7, 3, 0, 7, 0, 4,
}

◆ kSimpleCubeVertices

const std::vector<SimpleVertex> TestValues::kSimpleCubeVertices
Initial value:
{
{ glm::vec3(-0.5f, -0.5f, -0.5f), glm::vec3(0.f, 0.f, 0.f)},
{ glm::vec3(-0.5f, 0.5f, -0.5f), glm::vec3(0.f, 1.f, 0.f)},
{ glm::vec3(0.5f, 0.5f, -0.5f), glm::vec3(1.f, 1.f, 0.f)},
{ glm::vec3(0.5f, -0.5f, -0.5f), glm::vec3(1.f, 0.f, 0.f)},
{ glm::vec3(-0.5f, -0.5f, 0.5f), glm::vec3(0.f, 0.f, 1.f)},
{ glm::vec3(-0.5f, 0.5f, 0.5f), glm::vec3(0.f, 1.f, 1.f)},
{ glm::vec3(0.5f, 0.5f, 0.5f), glm::vec3(1.f, 1.f, 1.f)},
{ glm::vec3(0.5f, -0.5f, 0.5f), glm::vec3(1.f, 0.f, 1.f)}
}