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

Method createWhiskers

Processing/game2dai/steering/AutoPilot.java:2573–2596  ·  view source on GitHub ↗

Used internally by the getFeelers() methods. Given an origin, a facing direction, a 'field of view' describing the limit of the outer whiskers, a whisker length and the number of whiskers this method returns a vector containing the end positions of a series of whiskers radiating away from the o

(
			final int  		nbrWhiskers,
			final double    whiskerLength,
			final double    fov,
			final Vector2D  facing,
			final Vector2D  origin )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getFeelersMethod · 0.95

Calls 5

multMethod · 0.95
absMethod · 0.95
cosMethod · 0.95
addMethod · 0.95

Tested by

no test coverage detected