Function nphysics2d::integration::euler::displacement [] [src]

pub fn displacement<N: Real>(
    dt: N,
    _: &Isometry<N>,
    center_of_mass: &Point<N>,
    lin_vel: &Vector<N>,
    ang_vel: &Orientation<N>
) -> Isometry<N>

Computes the transformation matrix required to move an object with a lin_vel linear velocity, a ang_vil angular velocity, and a center of mass center_of_mass, during the time step dt.