ソースを参照

Change representation of JPC_Mat44 to match JPC_RMat44

Lucien Greathouse 11 ヶ月 前
コミット
f69f6bead9
1 ファイル変更2 行追加1 行削除
  1. 2 1
      JoltC/Functions.h

+ 2 - 1
JoltC/Functions.h

@@ -74,7 +74,8 @@ typedef struct JPC_Quat {
 ENSURE_SIZE_ALIGN(JPC_Quat, JPH::Quat)
 
 typedef struct JPC_Mat44 {
-	alignas(16) JPC_Vec4 matrix[4];
+	alignas(16) JPC_Vec4 col[3];
+	JPC_Vec3 col3;
 } JPC_Mat44;
 
 ENSURE_SIZE_ALIGN(JPC_Mat44, JPH::Mat44)