Function simple_fcl::collide [] [src]

pub fn collide(
    model_a: &Model,
    rotation_a: &Rotation3f,
    translation_a: &Translation3f,
    model_b: &Model,
    rotation_b: &Rotation3f,
    translation_b: &Translation3f
) -> bool

Perform collision check between two models transformed in space.

Each model has a translation and rotation applied to it. So the model center is moved by the translation, while the model is rotated around its center.