Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. Newt/MouseEvent: Add 'float[3] getRotation()', getWheelScale() ->
    More change log history
    (details)
Commit ded080fd890c21b54ba1f96d84f9e355711dc88a by Sven Gothel
Newt/MouseEvent: Add 'float[3] getRotation()', getWheelScale() -> getRotationScale(), refinement of commit 18cb57246372eda72c25a5cd9a69a873bdf09489

Turns out the 'wheel' semantics are not generic enough and confining rotation values
to one axis only satisfies the traditional mouse wheel.

Widen the definition of 'rotation' and delivering 3-axis if supported.

On NEWT/Android, we deliver the 2-axis for example, allowing to rotate around both
or scrolling using both directions (-> GearsES2).
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/MouseListener.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)