|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <kos.h>#include <math.h>#include <plx/texture.h>#include <plx/context.h>#include <plx/prim.h>Functions | |
| KOS_INIT_FLAGS (INIT_DEFAULT|INIT_MALLOCSTATS) | |
| void | makecube (void) |
| void | drawpnt (float x, float y, float z, float a, float r, float g, float b) |
| void | drawcube (float b) |
| int | main (int argc, char **argv) |
Variables | |
| vector_t | cube [6 *6 *6] |
| int | cubepnts = 6 * 6 * 6 |
| static matrix_t | tmpmat |
| void drawpnt | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | a, | ||
| float | r, | ||
| float | g, | ||
| float | b ) |
References r, uint32_t(), x, y, and z.
Referenced by drawcube().
| KOS_INIT_FLAGS | ( | INIT_DEFAULT| | INIT_MALLOCSTATS | ) |
| int main | ( | int | argc, |
| char ** | argv ) |
References CONT_START, DBG_INFO, dbglog, done, drawcube(), makecube(), MAPLE_FOREACH_BEGIN, MAPLE_FOREACH_END, MAPLE_FUNC_CONTROLLER, NULL, pvr_get_stats(), pvr_init_defaults(), pvr_list_begin(), PVR_LIST_OP_POLY, PVR_LIST_TR_POLY, pvr_scene_begin(), pvr_scene_finish(), pvr_set_bg_color(), pvr_wait_ready(), stats(), and tmpmat.
| vector_t cube[6 *6 *6] |
Referenced by drawcube(), main(), and makecube().
| int cubepnts = 6 * 6 * 6 |
Referenced by drawcube().