WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ModelVertex Struct Reference

A vertex as stored in the M2 file (position, bone weights, normal, texcoord). More...

#include <modelheaders.h>

Public Attributes

glm::vec3 pos
 
uint8 weights [4]
 
uint8 bones [4]
 
glm::vec3 normal
 
glm::vec2 texcoords
 
int unk1
 
int unk2
 

Detailed Description

A vertex as stored in the M2 file (position, bone weights, normal, texcoord).

Definition at line 216 of file modelheaders.h.

Member Data Documentation

◆ bones

uint8 ModelVertex::bones[4]

Definition at line 220 of file modelheaders.h.

◆ normal

glm::vec3 ModelVertex::normal

Definition at line 221 of file modelheaders.h.

◆ pos

glm::vec3 ModelVertex::pos

Definition at line 218 of file modelheaders.h.

◆ texcoords

glm::vec2 ModelVertex::texcoords

Definition at line 222 of file modelheaders.h.

◆ unk1

int ModelVertex::unk1

Definition at line 223 of file modelheaders.h.

◆ unk2

int ModelVertex::unk2

Definition at line 223 of file modelheaders.h.

◆ weights

uint8 ModelVertex::weights[4]

Definition at line 219 of file modelheaders.h.


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