mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 17:10:42 +08:00
detour via variable
This commit is contained in:
parent
dfee4477b3
commit
c91229c234
@ -189,7 +189,8 @@ void TransformationMatrix::rotate(double q1, double q2, double q3, double q4)
|
||||
|
||||
void TransformationMatrix::applyLeft(const TransformationMatrix &left)
|
||||
{
|
||||
*this = multiply(left, *this);
|
||||
TransformationMatrix temp = multiply(left, *this);
|
||||
*this = temp;
|
||||
}
|
||||
|
||||
TransformationMatrix TransformationMatrix::multiplyLeft(const TransformationMatrix &left)
|
||||
@ -199,7 +200,8 @@ TransformationMatrix TransformationMatrix::multiplyLeft(const TransformationMatr
|
||||
|
||||
void TransformationMatrix::applyRight(const TransformationMatrix &right)
|
||||
{
|
||||
*this = multiply(*this, right);
|
||||
TransformationMatrix temp = multiply(*this, right);
|
||||
*this = temp;
|
||||
}
|
||||
|
||||
TransformationMatrix TransformationMatrix::multiplyRight(const TransformationMatrix &right)
|
||||
|
Loading…
x
Reference in New Issue
Block a user