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

Method getSampleCoords

src/ts/impl/grid_storage.ts:146–157  ·  view source on GitHub ↗

* @return {Vector} Cell coords corresponding to vector * Performance important - called at every integration step

(worldV: Vector)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

addSampleMethod · 0.95
isValidSampleMethod · 0.95
getNearbyPointsMethod · 0.95

Calls 3

worldToGridMethod · 0.95
vectorOutOfBoundsMethod · 0.95
zeroVectorMethod · 0.80

Tested by

no test coverage detected