Type Alias rapier3d::geometry::Ray

source ·
pub type Ray = Ray;
Expand description

A ray that can be cast against colliders.

Aliased Type§

struct Ray {
    pub origin: OPoint<f32, Const<3>>,
    pub dir: Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>,
}

Fields§

§origin: OPoint<f32, Const<3>>

Starting point of the ray.

§dir: Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>

Direction of the ray.