MCPcopy Create free account
hub / github.com/ProbableTrain/MapGenerator / getBestNextPoint

Method getBestNextPoint

src/ts/impl/streamlines.ts:159–200  ·  view source on GitHub ↗

* Gets next best point to join streamline * returns null if there are no good candidates

(point: Vector, previousPoint: Vector, streamline: Vector[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 9

getNearbyPointsMethod · 0.80
subMethod · 0.80
cloneMethod · 0.80
equalsMethod · 0.80
dotMethod · 0.80
distanceToSquaredMethod · 0.80
angleBetweenMethod · 0.80
setLengthMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected