1al_transform_coordinates_3d_projectivea(l3_)transform_coordinates_3d_projective(3)
2
3
4

NAME

6       al_transform_coordinates_3d_projective - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_transform_coordinates_3d_projective(const ALLEGRO_TRANSFORM *trans,
12                 float *x, float *y, float *z)
13

DESCRIPTION

15       Transform  x, y, z as homogeneous coordinates.  This is the same as us‐
16       ing al_transform_coordinates_4d(3) with the w coordinate set to 1, then
17       dividing  x, y, z by the resulting w.  This will provide the same coor‐
18       dinates Allegro will draw to when a projective transform is  in  effect
19       as set with al_use_projection_transform(3).
20
21       Parameters:
22
23       · trans - Transformation to use
24
25       · x, y, z - Pointers to the coordinates
26
27       Since 5.2.4
28

SEE ALSO

30       al_use_transform(3),  al_transform_coordinates(3), al_transform_coordi‐
31       nates_3d(3), al_use_projection_transform(3)
32
33
34
35Allegro reference manual             al_transform_coordinates_3d_projective(3)
Impressum