1al_orthographic_transform(3) al_orthographic_transform(3)
2
3
4
6 al_orthographic_transform - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_orthographic_transform(ALLEGRO_TRANSFORM *trans,
12 float left, float top, float n,
13 float right, float bottom, float f)
14
16 Combines the given transformation with an orthographic transformation
17 which maps the screen rectangle to the given left/top and right/bottom
18 coordinates. near/far is the z-buffer range, if there is no z-buffer
19 you can set it to -1/1.
20
22 5.1.3
23
25 al_use_projection_transform(3), al_perspective_transform(3)
26
27
28
29Allegro reference manual al_orthographic_transform(3)