Skip to content

Commit

Permalink
xrCore/matrix33: Fixed overlapped argument and type names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Nov 6, 2015
1 parent d9e6913 commit 020ca15
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/xrCore/_matrix33.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,35 +310,35 @@ struct _matrix33
return *this;
}

IC SelfRef MxMpV(SelfCRef M1, SelfCRef M2, const Tvector& T)
IC SelfRef MxMpV(SelfCRef M1, SelfCRef M2, const Tvector& V)
{
m[0][0] = (M1.m[0][0] * M2.m[0][0] +
M1.m[0][1] * M2.m[1][0] +
M1.m[0][2] * M2.m[2][0] + T.x);
M1.m[0][2] * M2.m[2][0] + V.x);
m[1][0] = (M1.m[1][0] * M2.m[0][0] +
M1.m[1][1] * M2.m[1][0] +
M1.m[1][2] * M2.m[2][0] + T.y);
M1.m[1][2] * M2.m[2][0] + V.y);
m[2][0] = (M1.m[2][0] * M2.m[0][0] +
M1.m[2][1] * M2.m[1][0] +
M1.m[2][2] * M2.m[2][0] + T.z);
M1.m[2][2] * M2.m[2][0] + V.z);
m[0][1] = (M1.m[0][0] * M2.m[0][1] +
M1.m[0][1] * M2.m[1][1] +
M1.m[0][2] * M2.m[2][1] + T.x);
M1.m[0][2] * M2.m[2][1] + V.x);
m[1][1] = (M1.m[1][0] * M2.m[0][1] +
M1.m[1][1] * M2.m[1][1] +
M1.m[1][2] * M2.m[2][1] + T.y);
M1.m[1][2] * M2.m[2][1] + V.y);
m[2][1] = (M1.m[2][0] * M2.m[0][1] +
M1.m[2][1] * M2.m[1][1] +
M1.m[2][2] * M2.m[2][1] + T.z);
M1.m[2][2] * M2.m[2][1] + V.z);
m[0][2] = (M1.m[0][0] * M2.m[0][2] +
M1.m[0][1] * M2.m[1][2] +
M1.m[0][2] * M2.m[2][2] + T.x);
M1.m[0][2] * M2.m[2][2] + V.x);
m[1][2] = (M1.m[1][0] * M2.m[0][2] +
M1.m[1][1] * M2.m[1][2] +
M1.m[1][2] * M2.m[2][2] + T.y);
M1.m[1][2] * M2.m[2][2] + V.y);
m[2][2] = (M1.m[2][0] * M2.m[0][2] +
M1.m[2][1] * M2.m[1][2] +
M1.m[2][2] * M2.m[2][2] + T.z);
M1.m[2][2] * M2.m[2][2] + V.z);
return *this;
}

Expand Down

0 comments on commit 020ca15

Please sign in to comment.