TINYGL: Added a first draft of the maths classes.

This commit is contained in:
Stefano Musumeci 2014-05-23 15:38:18 +01:00
parent 6951b5c0ee
commit 16ba2a7aee
3 changed files with 53 additions and 1 deletions

View file

@ -28,7 +28,7 @@ void glopArrayElement(GLContext *c, GLParam *param) {
c->current_normal.X = c->normal_array[i];
c->current_normal.Y = c->normal_array[i + 1];
c->current_normal.Z = c->normal_array[i + 2];
c->current_normal.Z = 0.0f;
c->current_normal.W = 0.0f;
}
if (states & TEXCOORD_ARRAY) {
int size = c->texcoord_array_size;