KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
delay_cube.c File Reference
#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
 

Function Documentation

◆ drawcube()

void drawcube ( float b)

References cube, cubepnts, drawpnt(), x, y, and z.

◆ drawpnt()

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()

KOS_INIT_FLAGS ( INIT_DEFAULT| INIT_MALLOCSTATS)

◆ main()

◆ makecube()

void makecube ( void )

References cube, x, y, and z.

Referenced by main().

Variable Documentation

◆ cube

vector_t cube[6 *6 *6]

Referenced by drawcube(), main(), and makecube().

◆ cubepnts

int cubepnts = 6 * 6 * 6

Referenced by drawcube().

◆ tmpmat

matrix_t tmpmat
static

Referenced by main().