KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
vq-example.c File Reference
#include <kos.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#include <GL/glkos.h>

Functions

static int loadtxr (void)
 
void draw_gl (void)
 
int main (int argc, char **argv)
 

Variables

GLfloat xrot
 
GLfloat yrot
 
GLfloat zrot
 
GLuint texture [1]
 
unsigned char fruit []
 
unsigned char fruit_end []
 

Function Documentation

◆ draw_gl()

void draw_gl ( void )

References texture, xrot, yrot, and zrot.

Referenced by draw_perspective_scene(), and main().

◆ loadtxr()

static int loadtxr ( void )
static

References fruit, fruit_end, and texture.

Referenced by main().

◆ main()

Variable Documentation

◆ fruit

unsigned char fruit[]
extern

Referenced by loadtxr().

◆ fruit_end

unsigned char fruit_end[]
extern

Referenced by loadtxr().

◆ texture

GLuint texture[1]

◆ xrot

GLfloat xrot

Referenced by draw_gl().

◆ yrot

GLfloat yrot

Referenced by draw_gl().

◆ zrot

GLfloat zrot

Referenced by draw_gl().