|
Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
|
#include <model.hpp>
Data Fields | |
| glm::vec3 | position |
| glm::vec3 | normal |
| glm::vec2 | textureCoords |
| int | m_boneIDs [MAX_BONE_INFLUENCE] |
| float | m_weights [MAX_BONE_INFLUENCE] |
| glm::vec3 | tangent |
| glm::vec3 | bitangent |
Stores position, normal vector, and coordinates in texture map for every vertex in a mesh.
| glm::vec3 Vertex::bitangent |
| int Vertex::m_boneIDs[MAX_BONE_INFLUENCE] |
| float Vertex::m_weights[MAX_BONE_INFLUENCE] |
| glm::vec3 Vertex::normal |
| glm::vec3 Vertex::position |
| glm::vec3 Vertex::tangent |
| glm::vec2 Vertex::textureCoords |