01-03-2001, 05:55 PM
Are there any functions in OpenGL like glTranlsatef() and glRotatef() that allow you to send it an array which would signify coordinates
ex.
double bob[] = { 10.0, 0.0, -5.0 };
glTranslate(1.0, 0.0, -1.0, bob);
does anyone know of a function like this or is it easier to do the math myself?
Shaggy
ex.
double bob[] = { 10.0, 0.0, -5.0 };
glTranslate(1.0, 0.0, -1.0, bob);
does anyone know of a function like this or is it easier to do the math myself?
Shaggy