KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
rotocube.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 drawcube (void)
 
void drawwave (int theta)
 
int main (int argc, char **argv)
 

Variables

static plx_dr_state_t dr
 

Function Documentation

◆ drawcube()

void drawcube ( void )

References color, dr, and uint32_t().

Referenced by main().

◆ drawwave()

void drawwave ( int theta)

References color, F_PI, fcos(), fsin(), uint32_t(), x, and y.

Referenced by main().

◆ KOS_INIT_FLAGS()

KOS_INIT_FLAGS ( INIT_DEFAULT| INIT_MALLOCSTATS)

◆ main()

Variable Documentation

◆ dr

plx_dr_state_t dr
static

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