al_rotate_transform_3d al_translate_transform_3d al_perspective_transform al_set_projection_transform al_check_inverse //notice how this one shows up.
These are used in examples, but have no documentation associated with them.
Have you checked the official docs? Or just the forums? Matthew needs to regen the a.cc docs to get the forums to see the new functions.
Allegro.cc docs are still on 5.0.
Goodness! I didn't realize! Thanks!
void al_perspective_transform(ALLEGRO_TRANSFORM *trans,
float left, float top, float n,
float right, float bottom, float f)
But it doesn't document what n and f are. Are those near and far? What are those exactly?
The near and far clipping planes, yes, and the ratio affects the precision of the depth buffer.
n/f should be renamed to near/far in code (the documentation takes the parameter names from there).
Wait. Did I accidentally post in a.CC comments or did someone move it here?