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

Method GetCollision

include/Ray.hpp:39–41  ·  view source on GitHub ↗

* Get collision information between ray and sphere */

Source from the content-addressed store, hash-verified

37 * Get collision information between ray and sphere
38 */
39 RayCollision GetCollision(::Vector3 center, float radius) const {
40 return ::GetRayCollisionSphere(*this, center, radius);
41 }
42
43 /**
44 * Detect collision between ray and box

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected