GabeN :wtf:

This commit is contained in:
DBotThePony 2023-07-24 00:41:18 +07:00
parent 00c3f17dd2
commit 9744269ac6
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -83,7 +83,7 @@ fun Matrix3f.toMatrix4f(): Matrix4f {
var Matrix4f.translation: Vector3f var Matrix4f.translation: Vector3f
get() { get() {
return Vector3f(this[3, 0], this[3, 1], this[3, 2]) return Vector3f(this[0, 3], this[1, 3], this[2, 3])
} }
set(value) { set(value) {
@ -99,7 +99,7 @@ var Matrix4f.translation: Vector3f
var Matrix4f.translation4: Vector4f var Matrix4f.translation4: Vector4f
get() { get() {
return Vector4f(this[3, 0], this[3, 1], this[3, 2], this[3, 3]) return Vector4f(this[1, 3], this[1, 3], this[2, 3], this[3, 3])
} }
set(value) { set(value) {