vec3: { copy: ((source,
out?) => void); fromArray: (([x, y, z]) => { x: number; y: number; z: number; }); fromRaw: ((vec3) => { x: number; y: number; z: number; }); lerp: ((a,
b,
t,
out?) => void); toArray: (({ x, y, z }) => Vector3Tuple); toRaw: (({ x, y, z },
existing?) => Vec3); } Type declaration
copy: ((source, out?) => void)
- (source, out?): void
Returns void
fromArray: (([x, y, z]) => {
x: number;
y: number;
z: number;
})
- ([x, y, z]): {
x: number;
y: number;
z: number;
} Returns {
x: number;
y: number;
z: number;
}
x: number
y: number
z: number
fromRaw: ((vec3) => {
x: number;
y: number;
z: number;
})
- (vec3): {
x: number;
y: number;
z: number;
} Returns {
x: number;
y: number;
z: number;
}
x: number
y: number
z: number
lerp: ((a, b, t, out?) => void)
- (a, b, t, out?): void
Returns void
toArray: (({ x, y, z }) => Vector3Tuple)
toRaw: (({ x, y, z }, existing?) => Vec3)
- ({ x, y, z }, existing?): Vec3