Type Alias rapier2d::math::Point

source ·
pub type Point<N> = OPoint<N, Const<2>>;
Expand description

The point type.

Aliased Type§

struct Point<N> {
    pub coords: Matrix<N, Const<2>, Const<1>, <DefaultAllocator as Allocator<Const<2>>>::Buffer<N>>,
}

Fields§

§coords: Matrix<N, Const<2>, Const<1>, <DefaultAllocator as Allocator<Const<2>>>::Buffer<N>>

The coordinates of this point, i.e., the shift from the origin.