Enum k::JointType
[−]
[src]
pub enum JointType<T: Real> { Fixed, Rotational { axis: Unit<Vector3<T>>, }, Linear { axis: Unit<Vector3<T>>, }, }
Type of Joint, Fixed
, Rotational
, Linear
is supported now
Variants
Fixed
Fixed joitn
Rotational
Rotational joint around axis. angle [rad].
Fields of Rotational
axis: Unit<Vector3<T>> |
Linear
Linear joint. angle is length
Fields of Linear
axis: Unit<Vector3<T>> |
Trait Implementations
impl<T: Copy + Real> Copy for JointType<T>
[src]
impl<T: Debug + Real> Debug for JointType<T>
[src]
impl<T: Clone + Real> Clone for JointType<T>
[src]
fn clone(&self) -> JointType<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more