# Vector3

`import { Vector3 } from "destack:math";`

Three-dimensional vector.

```ds title="Vector3"
export struct Vector3<T: Numeric> {
    x: T;
    y: T;
    z: T;
}
```

[language/library/src/math/linear.ds:16:25](https://github.com/destack-sh/destack/blob/main/language/library/src/math/linear.ds#L16-L25)

## Members

### `x: T`

The x component.

### `y: T`

The y component.

### `z: T`

The z component.
