grid3d * grid3d_new(int sizex, int defx, int sizez, int defz, v3d center)
void surf3d_rotate(surf3d *s, float angle)
void grid3d_free(grid3d **grid)
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 grid3d_update(grid3d *g, float angle, const float *vals, float dist)
void surf3d_translate(surf3d *s)