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: Copy + Real> Copy for JointType<T>
impl<T: Debug + Real> Debug for JointType<T>
[src]
impl<T: Debug + Real> Debug for JointType<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Clone + Real> Clone for JointType<T>
[src]
impl<T: Clone + Real> Clone for JointType<T>