Public Member Functions | |
(int) | - hypotOfBase:heigth: |
(float) | - angleDegBetween:andPoint: |
(double) | - cos: |
(double) | - sin: |
(int) | - cosLength |
(int) | - sinLength |
(bool) | - rect:isEqualToRect: |
Static Public Member Functions | |
(LLTrigonometry *) | + defaultInstance |
Definition at line 12 of file LLTrigonometry.h.
- (int) hypotOfBase: | (int) | x1 | ||
heigth: | (int) | y1 | ||
Gives approximate distance from (x1,y1) to (x2,y2) with only overestimations, and then never by more than (9/8) + one bit uncertainty.
Definition at line 557 of file LLTrigonometry.m.
Referenced by Universe::distanceToEntity:from:, and Universe::entity:closerToPos:than:.