Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/caviar/src/math/mod.ts>Vector3

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
class Vector3
import { Vector3 } from "https://deno.land/x/caviar@1.0.2/src/math/mod.ts";

Constructors

new
Vector3(
x?: number,
y?: number,
z?: number,
)

Methods

fromArray(src: Float32Array, i?): this
set(
x?,
y?,
z?,
): this
toArray(dst?: Float32Array, i?): Float32Array
toString(): string