feat: quaternion

This commit is contained in:
2025-06-07 13:35:34 +09:00
parent 40ba577651
commit 9ccc4dfd53
3 changed files with 2 additions and 7 deletions

View File

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

View File

@@ -1,3 +1,4 @@
export * from "./multi-pid"; export * from "./multi-pid";
export * from "./pid"; export * from "./pid";
export * from "./vec"; export * from "./vec";
export * from "./quaternion";

View File

@@ -62,9 +62,3 @@ export class Vec3 {
return this.mul(math.cos(theta)).add(relativeDir.mul(math.sin(theta))); return this.mul(math.cos(theta)).add(relativeDir.mul(math.sin(theta)));
} }
} }
export interface Quaternion {
x: number;
y: number;
z: number;
}