Main Page
|
Namespace List
|
Class Hierarchy
|
Class List
|
File List
|
Class Members
|
File Members
tilesData.h File Reference
#include <math.h>
#include "
OpenGL.h
"
Defines
#define
TILESIZE
(n) ( ((n)-1)*4 + 2*((n)-2)*((n)-3) + 5*((n)-2) )
#define
INDEX
(x, y, sizex) ( (x) + ((y)*(sizex)) )
#define
AUGMENT
(v, l, m) ( ((int)(pow(2,(m)-(l))))*(v) )
Define Documentation
#define AUGMENT
(
v,
l,
m
)
( ((int)(pow(2,(m)-(l))))*(v) )
#define INDEX
(
x,
y,
sizex
)
( (x) + ((y)*(sizex)) )
#define TILESIZE
(
n
)
( ((n)-1)*4 + 2*((n)-2)*((n)-3) + 5*((n)-2) )
Generated on Thu Mar 24 12:53:48 2005 for Septant by
1.4.1