소스 검색

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)