No biggie, I still cant work it out as of yet something to do with the window not passing ofxMouseEventArgs. I'll learn a bit more and work out what actually happening.
Also I took the liberty of modifying the OpenGLView.mm:
- (void) mouseDragged: (NSEvent*) event {
NSPoint p = [self convertPoint:[event locationInWindow] fromView:nil];
windowApp->mouseX = p.x;
windowApp->mouseY = self.frame.size.height - p.y;
windowApp->mouseDragged(p.x, self.frame.size.height - p.y, 0);
}
- (void) mouseUp: (NSEvent*) event {
NSPoint p = [self convertPoint:[event locationInWindow] fromView:nil];
windowApp->mouseX = p.x;
windowApp->mouseY = self.frame.size.height - p.y;
windowApp->mouseReleased(p.x, self.frame.size.height - p.y, 0);
windowApp->mouseReleased();
}
This gives mouse dragging smoother movement.
No biggie, I still cant work it out as of yet something to do with the window not passing ofxMouseEventArgs. I'll learn a bit more and work out what actually happening.
Also I took the liberty of modifying the OpenGLView.mm:
This gives mouse dragging smoother movement.