Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
SquareShape.h File Reference
#include <cstdio>
#include "../ModelData.h"

Go to the source code of this file.

Classes

struct  Ult::stUnitSquareVertex
 

Namespaces

namespace  Ult
 

Macros

#define ULT_UNIT_SQUARE_VERTEX_TOTAL   4
 
#define ULT_UNIT_SQUARE_INDEX_TOTAL   6
 
#define ULT_UNIT_SQUARE_STRIDE   sizeof(Ult::stUnitSquareVertex)
 

Functions

bool Ult::CreateSquareMesh (float width, float height, ModelData *model)
 
bool Ult::CreateUnitSquareMesh (Ult::ModelData *model)
 

Macro Definition Documentation

◆ ULT_UNIT_SQUARE_INDEX_TOTAL

#define ULT_UNIT_SQUARE_INDEX_TOTAL   6

◆ ULT_UNIT_SQUARE_STRIDE

#define ULT_UNIT_SQUARE_STRIDE   sizeof(Ult::stUnitSquareVertex)

◆ ULT_UNIT_SQUARE_VERTEX_TOTAL

#define ULT_UNIT_SQUARE_VERTEX_TOTAL   4