It is currently November 15th, 2019, 3:58 am

Minor error in TransformationMatrix Guide

Discussion about the documentation, main Rainmeter site and forums.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3597
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Minor error in TransformationMatrix Guide

eclectic-tech » October 27th, 2014, 3:18 pm

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.
User avatar
jsmorley
Developer
Posts: 19710
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Minor error in TransformationMatrix Guide

jsmorley » November 1st, 2014, 1:57 pm

I'll take your word for it... ;-)

Fixed. Thanks.