@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / Vec3
Type Alias: Vec3
ts
type Vec3 = {
x: number;
y: number;
z: number;
};Defined in: components/Transform.ts:10
Plain XYZ vector. All ECS transform fields use this shape rather than THREE.Vector3 so they save cleanly with the project.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
x | number | X component. | components/Transform.ts:12 |
y | number | Y component. | components/Transform.ts:14 |
z | number | Z component. | components/Transform.ts:16 |

