mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
Match Matrix4::Scale
This commit is contained in:
parent
d28d2e6e90
commit
4fadf10062
@ -107,7 +107,7 @@ class Matrix4 {
|
|||||||
// FUNCTION: LEGO1 0x100a0ff0
|
// FUNCTION: LEGO1 0x100a0ff0
|
||||||
inline void Scale(const float& p_x, const float& p_y, const float& p_z)
|
inline void Scale(const float& p_x, const float& p_y, const float& p_z)
|
||||||
{
|
{
|
||||||
for (unsigned int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
m_data[i][0] *= p_x;
|
m_data[i][0] *= p_x;
|
||||||
m_data[i][1] *= p_y;
|
m_data[i][1] *= p_y;
|
||||||
m_data[i][2] *= p_z;
|
m_data[i][2] *= p_z;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user