Page 1 of 1

RotateBrush

Posted: Mon Mar 26, 2012 1:01 pm
by lazi
It seems to me, that the angle of rotation is accepted like it is integer in degree.
It is a limitation of the OS or Hollywood?

Could it be change this in the future?
I need more precise rotation. (Not for the Katica game :)

Bye!

Re: RotateBrush

Posted: Tue Mar 27, 2012 10:48 pm
by airsoftsoftwair
Right, I'll see if I can change this for the future. As a workaround, you can just generate the rotation matrix yourself and pass it to TransformBrush(). Then you get very precise results.

Re: RotateBrush

Posted: Thu Mar 29, 2012 10:45 am
by lazi
Thanks!
Just looked after Transformbrush and it seems very very powerful.
The only drawback is that it needs a copy of the brush.

Has it a different code than the other rotation? It seems to be faster than RotateBrush.

Re: RotateBrush

Posted: Fri Mar 30, 2012 11:02 pm
by airsoftsoftwair
Internally, RotateBrush() just generates a transformation matrix and then calls TransformBrush() so there shouldn't be any speed differences.