2
0
Эх сурвалжийг харах

Change representation of JPC_Mat44 to match JPC_RMat44

Lucien Greathouse 11 сар өмнө
parent
commit
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)