# shz_vec2_from

Source: https://sh4zam.com/api/vector/shz_vec2_from/

> Converts the given value or expression to the equivalent 2D SH4ZAM vector value

```c
#define shz_vec2_from(value) SHZ_CONVERT(shz_vec2_t, value)
```

Converts the given `value` or expression to the equivalent 2D SH4ZAM vector value.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `value` |  |  |

## Availability

- **C++ equivalent:** none (usable from C++ as is)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_vector.h:734`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_vector.h#L734)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Adapters"
