Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with getting new points

 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am doing a project that needs me to draw a triangle on the screen and rotate it. The rotate part is fine but after i rotate the shape i could not get the new cordinates of the new triangle.Please advice thanks.

i tried to cast the shape back to polygon and get the points but i had a cast class exception and that is the last solution i have got please help thanks in advance
this is the code:


regards
Huatz
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the help
 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic