Trait geo_nd::Vector3D[][src]

pub trait Vector3D<Scalar: Float> {
    type Vec2: Vector<Scalar, 2>;
    type Vec3: Vector<Scalar, 3>;
    type Vec4: Vector<Scalar, 4>;
}
Expand description

This is probably a temporary trait used until SIMD supports Geometry3D and Geometry2D

The Vector3D trait describes vectors that may be used for 3D geometry

Associated Types

The type of a 2D vector

The type of a 3D vector

The type of a 3D vector with an additional ‘1’ expected in its extra element

Implementations on Foreign Types

Implementors