Allegro.cc - Online Community

Allegro.cc Forums » Allegro.cc Comments » [a5] Missing documentation for functions

This thread is locked; no one can reply to it. rss feed Print
[a5] Missing documentation for functions
Chris Katko
Member #1,881
January 2002
avatar

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.

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs

Thomas Fjellstrom
Member #476
June 2000
avatar

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.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Trent Gamblin
Member #261
April 2000
avatar

Allegro.cc docs are still on 5.0.

http://docs.liballeg.org

Chris Katko
Member #1,881
January 2002
avatar

Goodness! I didn't realize! Thanks!

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs

Edgar Reynaldo
Member #8,592
May 2007
avatar

a5docs said:

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?

Arthur Kalliokoski
Second in Command
February 2005
avatar

The near and far clipping planes, yes, and the ratio affects the precision of the depth buffer.

“Throughout history, poverty is the normal condition of man. Advances which permit this norm to be exceeded — here and there, now and then — are the work of an extremely small minority, frequently despised, often condemned, and almost always opposed by all right-thinking people. Whenever this tiny minority is kept from creating, or (as sometimes happens) is driven out of a society, the people then slip back into abject poverty. This is known as "bad luck.”

― Robert A. Heinlein

Elias
Member #358
May 2000

n/f should be renamed to near/far in code (the documentation takes the parameter names from there).

--
"Either help out or stop whining" - Evert

Chris Katko
Member #1,881
January 2002
avatar

Wait. Did I accidentally post in a.CC comments or did someone move it here?

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs

Go to: