fix small bug in matrix scale
This commit is contained in:
parent
d494ab1518
commit
748b3a1184
1 changed files with 1 additions and 1 deletions
|
@ -916,7 +916,7 @@ proc translate*(v: Vec3): Mat4 =
|
|||
|
||||
proc scale*(v: Vec3): Mat4 =
|
||||
result[0] = v.x
|
||||
result[5] = v.x
|
||||
result[5] = v.y
|
||||
result[10] = v.z
|
||||
result[15] = 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue