WoW:SetTexCoord Transformations: Difference between revisions

→‎Inverting T: flipped B and D on the upper-left 2x2 corner of T'
(→‎Inverting T: flipped B and D on the upper-left 2x2 corner of T')
Line 52: Line 52:
(Forgive the somewhat lame formatting)
(Forgive the somewhat lame formatting)


Matrix multiplication is written as follows, for the expression b = a * T, where b is (X,Y,Z) and a is (x,y,z) you'd have;
Matrix multiplication is written as follows, for the expression b = T * a, where b is (X,Y,Z) and a is (x,y,z) you'd have;


{|
{|
Line 99: Line 99:


{|
{|
|(||E/det||-D/det||(BF-CE)/det||)
|(||E/det||-B/det||(BF-CE)/det||)
|-
|-
|(||-B/det||A/det||-(AF-CD)/det||)
|(||-D/det||A/det||-(AF-CD)/det||)
|-
|-
|(||0||0||1||)
|(||0||0||1||)
Anonymous user