mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
angles
This commit is contained in:
1 parent
f73ffc3c93
commit
1f767af0b5
9 files changed
+47
-41
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import type { Vector3 as BlitzKitVector } from "@blitzkit/protos";
|
||||
import { Vector3 } from "three";
|
||||
|
||||
export function toThreeVector(vector?: BlitzKitVector) {
|
||||
return new Vector3(vector!.x, vector!.y, vector!.z);
|
||||
}
|
||||
Reference in new issue
Block a user