Any comments or suggestions on structs versus vectors?
Quote from the OpenGL Performance Tips, OpenGL Programming Guide
"In general, use the vector forms of commands to pass precomputed
data, and use the scalar forms of commands to pass values that are
computed near call time."
Does this mean for instance that the scalar forms of commands should
be used between glBegin and glEnd and the vector forms should not for
best performance?
If this is the case it does not make sense. You would think that the
vector form of the command would always be faster because you are
passing just a pointer parameter.
Regards,
Richard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden