Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Data Fields
Vertex Struct Reference

#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
 

Detailed Description

Stores position, normal vector, and coordinates in texture map for every vertex in a mesh.

Field Documentation

◆ bitangent

glm::vec3 Vertex::bitangent

◆ m_boneIDs

int Vertex::m_boneIDs[MAX_BONE_INFLUENCE]

◆ m_weights

float Vertex::m_weights[MAX_BONE_INFLUENCE]

◆ normal

glm::vec3 Vertex::normal

◆ position

glm::vec3 Vertex::position

◆ tangent

glm::vec3 Vertex::tangent

◆ textureCoords

glm::vec2 Vertex::textureCoords

The documentation for this struct was generated from the following file: