put tinygl internals into namespace, left only api

This commit is contained in:
Pawel Kolodziejski 2009-05-25 13:19:29 +00:00
parent 7ad12a0856
commit 49b578ec6a
28 changed files with 367 additions and 285 deletions

View file

@ -1,13 +1,12 @@
// Z buffer: 16,32 bits Z / 16 bits color
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "common/sys.h"
#include "graphics/tinygl/zbuffer.h"
namespace TinyGL {
ZBuffer *ZB_open(int xsize, int ysize, int mode, void *frame_buffer) {
ZBuffer *zb;
int size;
@ -193,3 +192,5 @@ void ZB_clear(ZBuffer *zb, int clear_z, int z, int clear_color, int r, int g, in
}
}
}
} // end of namespace TinyGL