surf3d.h File Reference
Go to the source code of this file.
|
Classes |
| struct | surf3d |
| struct | grid3d |
Functions |
| grid3d * | grid3d_new (int sizex, int defx, int sizez, int defz, v3d center) |
| void | grid3d_free (grid3d **grid) |
| void | grid3d_update (grid3d *s, float angle, float *vals, float dist) |
| void | surf3d_draw (surf3d *s, int color, int dist, int *buf, int *back, int W, int H) |
| void | grid3d_draw (grid3d *g, int color, int colorlow, int dist, int *buf, int *back, int W, int H) |
| void | surf3d_rotate (surf3d *s, float angle) |
| void | surf3d_translate (surf3d *s) |
Function Documentation
| grid3d* grid3d_new |
( |
int |
sizex, |
|
|
int |
defx, |
|
|
int |
sizez, |
|
|
int |
defz, |
|
|
v3d |
center | |
|
) |
| | |
| void grid3d_free |
( |
grid3d ** |
grid |
) |
|
| void grid3d_update |
( |
grid3d * |
s, |
|
|
float |
angle, |
|
|
float * |
vals, |
|
|
float |
dist | |
|
) |
| | |
| void surf3d_draw |
( |
surf3d * |
s, |
|
|
int |
color, |
|
|
int |
dist, |
|
|
int * |
buf, |
|
|
int * |
back, |
|
|
int |
W, |
|
|
int |
H | |
|
) |
| | |
| void grid3d_draw |
( |
grid3d * |
g, |
|
|
int |
color, |
|
|
int |
colorlow, |
|
|
int |
dist, |
|
|
int * |
buf, |
|
|
int * |
back, |
|
|
int |
W, |
|
|
int |
H | |
|
) |
| | |
| void surf3d_rotate |
( |
surf3d * |
s, |
|
|
float |
angle | |
|
) |
| | |
| void surf3d_translate |
( |
surf3d * |
s |
) |
|