![]() |
|
#1
|
||||
|
||||
|
Edit:
New Rotation code Code:
void Vector::RotateAround(Vector *V,int Angle)
{
this->X = V->X + (this->DistanceFrom(V) * cosf(DegToRad(Angle)));
this->Y = V->Y + (this->DistanceFrom(V) * sinf(DegToRad(Angle)));
}
but still Whenever I try rotating a point using this method, It spirals inward until it gets to the origin (V). What Am I Doing Wrong Here???
__________________
----------------------------------------- View my current project's Progress Here Last edited by Stinkee2; 10-01-2009 at 06:01 PM. |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|