MCPcopy Create free account
hub / github.com/dabing1022/Blog / isSecondInFOVofFirstXXX

Method isSecondInFOVofFirstXXX

Processing/game2dai/maths/Vector2D.java:426–431  ·  view source on GitHub ↗

Determines whether entity 2 is visible from entity 1. @param posFirst position of first entity @param facingFirst direction first entity is facing @param fovFirst field of view (radians) @param posSecond position of second entity @return true if second entity is inside 'visible' to the first entity

(final Vector2D posFirst, final Vector2D facingFirst, final double fovFirst, final Vector2D posSecond)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

subMethod · 0.95
lengthMethod · 0.95
cosMethod · 0.95
dotMethod · 0.80

Tested by

no test coverage detected