Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Rotating a 2D rectangle  (Read 767 times)
harikumar001
Customers
Community Member
*****
Posts: 65


« on: July 13, 2010, 10:28:37 PM »

Hey all,

Have a nice day.

I am trying to rotate a rectangle using TV2D. How can I do that?

At the moment I can only draw a rectangle that is parallel to the x-axis and y-axis. How do I rotate the rectangle at a certain angle? Any pointers would be greatly appreciated.

Thanks in advance.

Rgds
Logged
Brac
Customers
Community Member
*****
Posts: 367


« Reply #1 on: July 14, 2010, 09:40:27 AM »

you can draw your own polygons with screen2d.drawCustom
Logged
harikumar001
Customers
Community Member
*****
Posts: 65


« Reply #2 on: July 19, 2010, 11:13:56 PM »

Cool!!!

Perfect answer
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks