Skip to main content

SimdPoint

Type Alias SimdPoint 

Source
pub type SimdPoint<N> = Point2<N>;
Expand description

Generic point type (nalgebra) for SoA SIMD code

Aliased Type§

#[repr(C)]
pub struct SimdPoint<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.