mathx 1.1.0

A mathematics library designed to work with no_std
Documentation
1
2
3
4
5
6
7
8
9
10

use crate::{Ray3, collision::RaycastInfo};

pub trait IRaycast {
	/// Raycasts with the given ray
	/// - **ray**: The ray to raycast with
	/// 
	/// **Returns**: Returns the information on the raycast
	fn raycast(&self, ray: Ray3) -> RaycastInfo;
}