MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / CircleIntersects

Function CircleIntersects

TombEngine/Math/Geometry.cpp:441–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439 }
440
441 bool CircleIntersects(const Vector3& circle0, const Vector3& circle1)
442 {
443 return (sqrt(SQUARE(circle1.x - circle0.x) + SQUARE(circle1.y - circle0.y)) <= (circle0.z + circle1.z));
444 }
445}

Callers 1

GetBridgeItemIntersectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected