## Recommended Posts

vrok137    241
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 on other sites
Alpha_ProgDes    6936
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 on other sites
vrok137    241
Hmm, I see. Very well then, I guess I'll Google until my eyes are sore...

##### Share on other sites
Endar    668
<cough> mathworld.com </cough>

I hope that helped some.