KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
example.c File Reference
#include <kos.h>
#include <png/png.h>
#include <zlib/zlib.h>
#include "pvr_zclip.h"

Functions

static void mul_screen (float width, float height)
 
static void mul_projection (float fov, float aspect, float znear)
 
static void draw_modifier (matrix_t *pvm)
 
static void draw_box (matrix_t *pvm)
 
static void draw_plane (matrix_t *pvm)
 
int main (int argc, char *argv[])
 

Variables

static pvr_ptr_t box_tex
 

Function Documentation

◆ draw_box()

◆ draw_modifier()

◆ draw_plane()

◆ main()

◆ mul_projection()

static void mul_projection ( float fov,
float aspect,
float znear )
static

References ftan(), mat_apply(), and s.

Referenced by main().

◆ mul_screen()

static void mul_screen ( float width,
float height )
static

References mat_apply().

Referenced by main().

Variable Documentation

◆ box_tex

pvr_ptr_t box_tex
static

Referenced by draw_box(), and main().