Browse Source

Change representation of JPC_Mat44 to match JPC_RMat44

Lucien Greathouse 11 tháng trước cách đây
mục cha
commit
f69f6bead9
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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)