fixed horribly wrong matrix scaling

This commit is contained in:
aap 2020-05-26 15:25:18 +02:00
parent 3971dda001
commit 84c582c1d7
1 changed files with 3 additions and 2 deletions

View File

@ -398,8 +398,9 @@ Matrix::scale(const V3d *scale, CombineOp op)
Matrix tmp;
Matrix scl = identMat;
scl.right.x = scale->x;
scl.right.y = scale->y;
scl.right.z = scale->z;
scl.up.y = scale->y;
scl.at.z = scale->z;
scl.flags &= ~IDENTITY;
switch(op){
case COMBINEREPLACE:
*this = scl;