M
mihai
Yelloo ...
I must write a C++ program for my computational geometry class,
and I need some references where can I solve the next problem:
POINT P(1, 0);
for (i=0;i<96;++i)
P.rotate(PI/2);
Now P must be at (1, 0) ...
but it isn't ...
How can I solve this the problem;
the rotate function in implemented with
standard math sin and cos functions.
Thanks
Mihai.
I must write a C++ program for my computational geometry class,
and I need some references where can I solve the next problem:
POINT P(1, 0);
for (i=0;i<96;++i)
P.rotate(PI/2);
Now P must be at (1, 0) ...
but it isn't ...
How can I solve this the problem;
the rotate function in implemented with
standard math sin and cos functions.
Thanks
Mihai.