Editing variables

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

Originally posted by Shaggy:
[b]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[/b]

Do it yourself … it’s faster and easier …
adios dariusz

BTW You could use the feedback mode to do such stuff … but you better don’t …

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.