BBC BASIC for Windows
Programming >> BBC BASIC language >> World Transform Rotation help needed
http://bb4w.conforums.com/index.cgi?board=language&action=display&num=1450351427

World Transform Rotation help needed
Post by AndrewCool on Dec 17th, 2015, 10:23am


Hi,

I'm trying to rotate a circular JPEG, advancing the rotation by 5 degrees with each press of the DOWN cursor key.

However I'm having trouble getting the circular image to rotate about its centre point, and would dearly appreciate some guidance on this.

My program, and the JPEG, are online at :-

http://cool.id.au/astronomy/BB4W/

There may well be easier ways than using the world transform call?

TIA,

Andrew
Re: World Transform Rotation help needed
Post by AndrewCool on Dec 17th, 2015, 11:07am

Five minutes after pressing Post I solved it.

How does that work...?

Andrew
Re: World Transform Rotation help needed
Post by hitsware on Dec 17th, 2015, 6:55pm

Magic !