pub type Ray2<S> = Ray<S, Point2<S>, Vector2<S>>;Expand description
2D ray
Aliased Type§
pub struct Ray2<S> {
pub origin: Point2<S>,
pub direction: Vector2<S>,
/* private fields */
}Fields§
§origin: Point2<S>Ray origin
direction: Vector2<S>Normalized ray direction