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

Method distance

Processing/game2dai/maths/Geometry2D.java:884–886  ·  view source on GitHub ↗

Calculates the distance between 2 points @param x0 point 1 @param y0 point 1 @param x1 point 2 @param y1 point 2 @return the distance between the points squared

(double x0, double y0, double x1, double y1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

distanceMethod · 0.95
GraphEdgeMethod · 0.95

Calls 1

sqrtMethod · 0.95

Tested by

no test coverage detected