testbed/src/SceneDemo.cpp
bool SceneDemo::mouseMotionEvent(double xMouse, double yMouse, int leftButtonState, int rightButtonState, int middleButtonState, int altKeyState) {

    if (mIsMovingBody) {
        moveBodyWithMouse(xMouse, yMouse);
        return true;
    }

    return Scene::mouseMotionEvent(xMouse, yMouse, leftButtonState, rightButtonState, middleButtonState, altKeyState);
}
// Called when a mouse motion event occurs
Called when a mouse motion event occurs
Called when a mouse motion event occurs
bool SceneDemo::mouseMotionEvent(double xMouse, double yMouse, int leftButtonState, int rightButtonState, int middleButtonState, int altKeyState) {
    if (mIsMovingBody) {
        moveBodyWithMouse(xMouse, yMouse);
        return true;
    }
    return Scene::mouseMotionEvent(xMouse, yMouse, leftButtonState, rightButtonState, middleButtonState, altKeyState);
}
bool SceneDemo :: mouseMotionEvent ( double xMouse , double yMouse , int leftButtonState , int rightButtonState , int middleButtonState , int altKeyState ) { if ( mIsMovingBody ) { moveBodyWithMouse ( xMouse , yMouse ) ; return true ; } return Scene :: mouseMotionEvent ( xMouse , yMouse , leftButtonState , rightButtonState , middleButtonState , altKeyState ) ; }
Called when a mouse motion event occurs
Called when a mouse motion event occurs