jcoglan/sylvester

Issue with isAntiparallelTo(vector) documentation

Closed this issue · 2 comments

Reading the api documentation for vector, under isAntiparallelTo() method it says: "Returns true iff vector’s direction is exactly opposed to that of the receiver, that is, if the angle between them is π." Wouldn't exactly opposite be π/2?

No, π is 180 degrees, π/2 is 90 degrees. An angle of π/2 would make them perpendicular, not antiparallel.

I'm sorry, brain fart!

On Sat, May 12, 2012 at 7:30 AM, James Coglan <
reply@reply.github.com

wrote:

No, ð is 180 degrees, ð/2 is 90 degrees. An angle of ð/2 would make them
perpendicular, not antiparallel.


Reply to this email directly or view it on GitHub:
#5 (comment)