GabeN :wtf:
This commit is contained in:
parent
00c3f17dd2
commit
9744269ac6
@ -83,7 +83,7 @@ fun Matrix3f.toMatrix4f(): Matrix4f {
|
||||
|
||||
var Matrix4f.translation: Vector3f
|
||||
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) {
|
||||
@ -99,7 +99,7 @@ var Matrix4f.translation: Vector3f
|
||||
|
||||
var Matrix4f.translation4: Vector4f
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user