---
name: "al_transform_coordinates_3d"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_transform_coordinates_3d/3alleg5"
---

# al\_transform\_coordinates\_3d(3alleg5)

Allegro 5 API

## NAME

al\_transform\_coordinates\_3d - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_transform_coordinates_3d(const ALLEGRO_TRANSFORM *trans,
     float *x, float *y, float *z)
  ```

## DESCRIPTION

Transform x, y, z coordinates.

*Parameters:*

- •

  trans - Transformation to use

- •

  x, y, z - Pointers to the coordinates

Note: If you are using a projection transform you most likely will want to use al\_transform\_coordinates\_3d\_projective(3alleg5) instead.

Since 5.1.9

## SEE ALSO

al\_use\_transform(3alleg5), al\_transform\_coordinates(3alleg5)
