pub trait IsParallelTo {
    // Required method
    fn is_parallel_to(&self, vector: &DirectionVector) -> bool;
}
Expand description

A trait to check if the current 3D vector is parallel to the DirectionVector. This is especially for serialization on Rotate.

Required Methods§

source

fn is_parallel_to(&self, vector: &DirectionVector) -> bool

Returns true if this is parallel to the vector.

Implementations on Foreign Types§

source§

impl IsParallelTo for (Number, Number, Number)

source§

impl IsParallelTo for (Number, Number, Number)

Implementors§