summaryrefslogtreecommitdiff
path: root/src/JSystem/J3DGraphBase/J3DTransform.cpp
diff options
context:
space:
mode:
authorJcw87 <Jcw87@users.noreply.github.com>2025-05-02 22:18:21 -0700
committerGitHub <noreply@github.com>2025-05-03 01:18:21 -0400
commitc033afc1f06569638db6a3defd0ca8849f1d50f7 (patch)
tree11f3ff08a459ad1ea5d016e2f73a2c97dcf344e7 /src/JSystem/J3DGraphBase/J3DTransform.cpp
parent0237004eb30655d6f20510620e43b70353594d7b (diff)
Match some data (#745)
* J3DTransform Data * d_map Data * jstudio-object Data * JASBankMgr Data * JASTrack Data * d_particle Data * d_camera Data
Diffstat (limited to 'src/JSystem/J3DGraphBase/J3DTransform.cpp')
-rw-r--r--src/JSystem/J3DGraphBase/J3DTransform.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/JSystem/J3DGraphBase/J3DTransform.cpp b/src/JSystem/J3DGraphBase/J3DTransform.cpp
index 390c8011..cf17534b 100644
--- a/src/JSystem/J3DGraphBase/J3DTransform.cpp
+++ b/src/JSystem/J3DGraphBase/J3DTransform.cpp
@@ -12,6 +12,22 @@
// that forces it into .data instead because the size is unknown when it's used. Even const is ignored.
f32 PSMulUnit01[2] = { 0.0f, -1.0f };
+const J3DTransformInfo j3dDefaultTransformInfo = {
+ { 1.0f, 1.0f, 1.0f },
+ { 0, 0, 0 },
+ { 0.0f, 0.0f, 0.0f },
+};
+
+const Vec j3dDefaultScale = { 1.0f, 1.0f, 1.0f };
+
+const Mtx j3dDefaultMtx = {
+ { 1.0f, 0.0f, 0.0f, 0.0f },
+ { 0.0f, 1.0f, 0.0f, 0.0f },
+ { 0.0f, 0.0f, 1.0f, 0.0f },
+};
+
+f32 Unit01[2] = { 0.0f, 1.0f };
+
/* 802DA0A8-802DA0B0 .text __MTGQR7__FUl */
void __MTGQR7(register u32 v) {
#ifdef __MWERKS__