Jump to content
  • Advertisement
Sign in to follow this  
vrok137

I need more Information concerning rect. coordinates,

This topic is 4441 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am currently in an online class for game programming. On the assignment I am working on, it requires for us to make a simple 3D polar class. Our assignment is: Create a 3D Polar class that represents the points on the plain as polar coordinates (radius and angle). Create an overloaded +operator for addition of the Polar quantities. "Adding" two points on the plain can be accomplished by adding their X, Y, and Z coordinates. Convert the sets of polar coordinates to rectangular coordinates, add them, then convert the resulting rectangular representation back to polar. I am just wondering, what are rectangular corrdinates? And how do you convert polar coordinates to rectangular coordinates? If anyone wouldn't mind, I would love an explanation. -Thanks

Share this post


Link to post
Share on other sites
Advertisement
Seeing as this is a homework assignment, we cannot "help" you. For Fruny will [flaming] us all to the void. But I suggest googling and trying out some equations and then coming back will difficulties in conversion.

edit: i will say this though: rectangular ?= cartesian.... or just ask your instructor to be sure [smile]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!