Skip to content

Commit

Permalink
Fix Matrix3f.get3x4(Buffer) (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
httpdigest committed Jun 22, 2024
1 parent 9f67120 commit 933eb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/joml/MemUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -4625,7 +4625,7 @@ public static void put3x4(Matrix3f m, long destAddr) {
for (int i = 0; i < 3; i++) {
UNSAFE.putLong(null, destAddr + (i << 4), UNSAFE.getLong(m, Matrix3f_m00 + 12 * i));
UNSAFE.putFloat(null, destAddr + (i << 4) + 8, UNSAFE.getFloat(m, Matrix3f_m00 + 8 + 12 * i));
UNSAFE.putFloat(null, destAddr + 12 * i, 0.0f);
UNSAFE.putFloat(null, destAddr + (i << 4) + 12, 0.0f);
}
}

Expand Down

0 comments on commit 933eb41

Please sign in to comment.