calculate screen bounding boxes for each mesh object

This commit is contained in:
Pawel Kolodziejski 2008-09-26 11:59:46 +00:00
parent f5d455b561
commit 9ad158effd
7 changed files with 193 additions and 3 deletions

View file

@ -1,7 +1,7 @@
#include "engine/tinygl/zgl.h"
void glGetIntegerv(int pname,int *params) {
void tglGetIntegerv(int pname,int *params) {
GLContext *c=gl_get_context();
switch (pname) {
@ -32,7 +32,7 @@ void glGetIntegerv(int pname,int *params) {
}
}
void glGetFloatv(int pname, float *v) {
void tglGetFloatv(int pname, float *v) {
int i;
int mnr = 0; // just a trick to return the correct matrix
GLContext *c = gl_get_context();