bug: quaternion?

This commit is contained in:
2025-06-07 22:43:26 +09:00
parent 4a050ddfac
commit f5e35b606f
3 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "computercraft-mutil",
"version": "1.0.7",
"version": "1.0.8",
"description": "",
"license": "ISC",
"author": "",

View File

@@ -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,

View File

@@ -14,7 +14,8 @@
"tstl": {
"luaTarget": "JIT",
"buildMode": "library",
"noImplicitSelf": true
"noImplicitSelf": true,
"noImplicitGlobalVariables": true
},
"include": ["src/**/*"]
}