bug: quaternion?
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import { Vec3 } from "./vec";
|
||||
|
||||
const math = globalThis.math;
|
||||
|
||||
export class Quaternion {
|
||||
public constructor(
|
||||
public x: number,
|
||||
public y: number,
|
||||
public z: number,
|
||||
public w: number,
|
||||
) { }
|
||||
) {}
|
||||
|
||||
public static fromXYZ({
|
||||
x,
|
||||
|
||||
Reference in New Issue
Block a user