46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
#ifndef _cube_h_
|
|
#define _cube_h_
|
|
|
|
/*
|
|
void make_cube_faces(
|
|
float *data, float ao[6][4], float light[6][4],
|
|
int left, int right, int top, int bottom, int front, int back,
|
|
int wleft, int wright, int wtop, int wbottom, int wfront, int wback,
|
|
float x, float y, float z, float n);
|
|
*/
|
|
|
|
void make_cube(
|
|
float *data, float ao[6][4], float light[6][4],
|
|
int left, int right, int top, int bottom, int front, int back,
|
|
float x, float y, float z, float n, int w);
|
|
|
|
void make_plant(
|
|
float *data, float ao, float light,
|
|
float px, float py, float pz, float n, int w, float rotation);
|
|
|
|
void make_player(
|
|
float *data,
|
|
float x, float y, float z, float rx, float ry);
|
|
|
|
void make_cube_wireframe(
|
|
float *data, float x, float y, float z, float n);
|
|
|
|
void make_character(
|
|
float *data,
|
|
float x, float y, float n, float m, char c);
|
|
|
|
void make_ui_quad(
|
|
float *data,
|
|
float x, float y, float n, float m, char spritesheet_index);
|
|
|
|
void make_logo_quad(
|
|
float *data,
|
|
float x, float y, float n, float m, char spritesheet_index);
|
|
|
|
void make_character_3d(
|
|
float *data, float x, float y, float z, float n, int face, char c);
|
|
|
|
void make_sphere(float *data, float r, int detail);
|
|
|
|
#endif
|