firstHit

fun AABB.firstHit(from: Vec3, to: Vec3): Vec3?

Ray–AABB first hit point (entry or exit).