# shz_xmtrx_transform_point2

Source: https://sh4zam.com/api/xmtrx/shz_xmtrx_transform_point2/

> Returns the 2D point that is the result of transforming pt by XMTRX

```c
SHZ_INLINE shz_vec2_t shz_xmtrx_transform_point2(shz_vec2_t pt) SHZ_NOEXCEPT;
```

Returns the 2D point that is the result of transforming `pt` by XMTRX.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `pt` | `shz_vec2_t` |  |

## Returns

`shz_vec2_t`

## Availability

- **C++ equivalent:** none (call the C function from C++)
- **Type-generic form:** none
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_xmtrx.h:777`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_xmtrx.h#L777)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Transformations"
