Vec3
An object that contains 3 floats, usually used to indicate a point in a three-dimensional space.
Format
| Field | Type | Default | Description |
|---|---|---|---|
x |
Float | The X coordinate of the point. | |
y |
Float | The Y coordinate of the point. | |
z |
Float | The Z coordinate of the point. |
Example
This example provides a vec3 that has XYZ coordinates of 1, 2, 3 respectively.