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

Functions

GLuint glTextureLoadPVR (char *fname, unsigned char isMipMapped, unsigned char glMipMap)
 
void draw_gl (void)
 
int main (int argc, char **argv)
 

Variables

static GLfloat xrot
 
static GLfloat yrot
 
static GLfloat xspeed
 
static GLfloat yspeed
 
static GLfloat z = -5.0f
 
static GLuint filter
 
static GLuint texture [2]
 

Function Documentation

◆ draw_gl()

void draw_gl ( void )

References filter, texture, xrot, xspeed, yrot, yspeed, and z.

Referenced by main().

◆ glTextureLoadPVR()

GLuint glTextureLoadPVR ( char * fname,
unsigned char isMipMapped,
unsigned char glMipMap )
extern

Referenced by main().

◆ main()

Variable Documentation

◆ filter

GLuint filter
static

Referenced by draw_gl(), and main().

◆ texture

GLuint texture[2]
static

Referenced by draw_gl(), and main().

◆ xrot

GLfloat xrot
static

Referenced by draw_gl().

◆ xspeed

GLfloat xspeed
static

Referenced by draw_gl(), and main().

◆ yrot

GLfloat yrot
static

Referenced by draw_gl().

◆ yspeed

GLfloat yspeed
static

Referenced by draw_gl(), and main().

◆ z