It is currently May 25th, 2020, 8:41 pm

Minor error in TransformationMatrix Guide

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

Minor error in TransformationMatrix Guide

Post by eclectic-tech »

In the 'Transformations' section you will find this: 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
Posts: 20629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Minor error in TransformationMatrix Guide

Post by jsmorley »

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

Fixed. Thanks.