Claude Chappe' Curse - A C Game
Logo Institut d'Informatique Claude Chappe Logo Université de Le Mans Logo Raeptor Production
 
Loading...
Searching...
No Matches
Face Struct Reference

Structure representing a face of a 3D model. More...

#include <obj_loader.h>

Public Attributes

int vertex [MAX_VERTEX_PER_FACE]
 
int normals [MAX_VERTEX_PER_FACE]
 
int textureVertex [MAX_VERTEX_PER_FACE]
 
u8 length
 

Detailed Description

Structure representing a face of a 3D model.

This structure holds the indices of vertices, normals, and texture vertices that make up a face.

Member Data Documentation

◆ vertex

int Face::vertex[MAX_VERTEX_PER_FACE]

Indices of vertices

◆ normals

int Face::normals[MAX_VERTEX_PER_FACE]

Indices of normals

◆ textureVertex

int Face::textureVertex[MAX_VERTEX_PER_FACE]

Indices of texture vertices

◆ length

u8 Face::length

Number of vertices in the face


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