.\" Automatically generated by Pandoc 2.2.1 .\" .TH "al_transform_coordinates_3d_projective" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_transform_coordinates_3d_projective \- Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include\ void\ al_transform_coordinates_3d_projective(const\ ALLEGRO_TRANSFORM\ *trans, \ \ \ float\ *x,\ float\ *y,\ float\ *z) \f[] .fi .SH DESCRIPTION .PP Transform x, y, z as homogeneous coordinates. This is the same as using al_transform_coordinates_4d(3alleg5) with the w coordinate set to 1, then dividing x, y, z by the resulting w. This will provide the same coordinates Allegro will draw to when a projective transform is in effect as set with al_use_projection_transform(3alleg5). .PP \f[I]Parameters:\f[] .IP \[bu] 2 trans \- Transformation to use .IP \[bu] 2 x, y, z \- Pointers to the coordinates .PP Since 5.2.4 .SH SEE ALSO .PP al_use_transform(3alleg5), al_transform_coordinates(3alleg5), al_transform_coordinates_3d(3alleg5), al_use_projection_transform(3alleg5)