from:
glOrtho(0, WINDOW_WIDTH, -WINDOW_HEIGHT, 0, -1, 1);
to:
glOrtho(0, WINDOW_WIDTH-1, 1-WINDOW_HEIGHT, 0, -1, 1);
from:
glOrtho(0, WINDOW_WIDTH-1, 1-WINDOW_HEIGHT, 0, -1, 1);
to:
glOrtho(0, WINDOW_WIDTH, -WINDOW_HEIGHT, 0, -1, 1);
from:
for (j=0; j<objects[i]->numVertices; j++)
to:
for (j=0; j<objects[i]->numKeyframes; j++)
levoy@cs.stanford.edu Copyright © 2001 Marc Levoy