Пример #1
0
    bool Camera::mouseDrag(ci::app::MouseEvent m_event) {
        /*
        if (draw_interface_)
            return false;
        */

        cam_->mouseDrag(m_event.getPos(), m_event.isLeftDown(), m_event.isMiddleDown(), 
            m_event.isRightDown());
        return false;
    }
void SpawnObjectApp::mouseDrag( ci::app::MouseEvent event )
{
    if( event.isAltDown() )
        mMayaCam.mouseDrag( event.getPos(), event.isLeftDown(), event.isMiddleDown(), event.isRightDown() );
}