Skip to content

Commit

Permalink
fix transform scale
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuntoni committed Nov 23, 2023
1 parent 2411051 commit f0347fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/vclib/math/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ template<typename MatrixType, PointConcept PointType>
void setTrasformMatrixScale(MatrixType& matrix, const PointType& scale)
{
matrix(0, 0) = scale[0];
matrix(1, 1) = scale[0];
matrix(1, 1) = scale[1];
matrix(2, 2) = scale[2];
matrix(3, 3) = 1;
}
Expand Down

0 comments on commit f0347fc

Please sign in to comment.