Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ice-build] [eclipse/ice] 1160b6: Added two new methods to orient the camera.

  Branch: refs/heads/master
  Home:   https://github.com/eclipse/ice
  Commit: 1160b6e1b0ded4457300ba22d9c5f48883e1d247
      https://github.com/eclipse/ice/commit/1160b6e1b0ded4457300ba22d9c5f48883e1d247
  Author: Jordan Deyton <deytonjh@xxxxxxxx>
  Date:   2014-12-08 (Mon, 08 Dec 2014)

  Changed paths:
    M src/org.eclipse.ice.client.widgets.rcp/src/org/eclipse/ice/client/widgets/jme/FlightCamera.java

  Log Message:
  -----------
  Added two new methods to orient the camera.
The first method changes the camera's position.
The second method changes the camera's orientation (that is, where it's
looking).

Signed-off-by: Jordan Deyton <deytonjh@xxxxxxxx>


  Commit: 8685592feb4fe114307a03d308dceeba5e0d16df
      https://github.com/eclipse/ice/commit/8685592feb4fe114307a03d308dceeba5e0d16df
  Author: Jordan Deyton <deytonjh@xxxxxxxx>
  Date:   2014-12-08 (Mon, 08 Dec 2014)

  Changed paths:
    M src/org.eclipse.ice.client.widgets.rcp/src/org/eclipse/ice/client/widgets/jme/FlightCamera.java

  Log Message:
  -----------
  Fixed a bug with the last commit. Since we use a separate vector to
store the "up" direction while mouse dragging to "look around", that
needed to be set as well when calling via the public setOrientation
method.

Signed-off-by: Jordan Deyton <deytonjh@xxxxxxxx>


  Commit: 417b0b4915a739660db40253b89d77748c86bb65
      https://github.com/eclipse/ice/commit/417b0b4915a739660db40253b89d77748c86bb65
  Author: Jordan Deyton <deytonjh@xxxxxxxx>
  Date:   2014-12-08 (Mon, 08 Dec 2014)

  Changed paths:
    M src/org.eclipse.ice.client.widgets.rcp/src/org/eclipse/ice/client/widgets/reactoreditor/plant/PlantAppState.java

  Log Message:
  -----------
  Set the default initial camera orientation for the plant view to look
down the x axis, with z up and y left. This is the desired perspective
since most of our users view a plant laid out on the yz-plane.

Signed-off-by: Jordan Deyton <deytonjh@xxxxxxxx>


Compare: https://github.com/eclipse/ice/compare/0cd63ff7920b...417b0b4915a7

Back to the top