MCPcopy Create free account
hub / github.com/DarkZek/RustCraft / ray_collides

Method ray_collides

lib/rc_shared/src/aabb.rs:51–100  ·  view source on GitHub ↗

Detect if a ray collides with this Aabb Returns a boolean which is true if a hit was detected, and the distance

(&self, origin: Vector3<f32>, direction: Vector3<f32>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

do_raycastFunction · 0.80

Calls 2

minFunction · 0.85
maxFunction · 0.85

Tested by

no test coverage detected