Page 1 of 1

Minor error in TransformationMatrix Guide

Posted: October 27th, 2014, 3:18 pm
by eclectic-tech
In the 'Transformations' section you will find this:
...do you know what that is? Well, to be honest, it's pretty long winded and I don't want to get into it, so I'll just give you the formula:

a = cos(angle)
b = -sin(angle)
c = sin(angle)
d = cos(angle)
There you have it. That will rotate your object by whatever you specify "angle" to be. You'll notice it looks a lot like what you wanted it to, doesn't it? You skew it by the same amount along each axis, with one of them flipped to negative, then you scale it to make sure it's the same size again. If you want to rotate the other way, just make b negative and c positive instead.
Should be:
just make c negative and b positive instead.

Re: Minor error in TransformationMatrix Guide

Posted: November 1st, 2014, 1:57 pm
by jsmorley
I'll take your word for it... ;-)

Fixed. Thanks.