MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / CheckCollision

Function CheckCollision

include/Vector3.hpp:298–300  ·  view source on GitHub ↗

* Detect collision between two spheres */

Source from the content-addressed store, hash-verified

296 * Detect collision between two spheres
297 */
298 RLCPP_NODISCARD bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) const {
299 return CheckCollisionSpheres(*this, radius1, center2, radius2);
300 }
301protected:
302 void set(const ::Vector3& vec) {
303 x = vec.x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected