package com.example.rollingball.app;

import com.hackoeur.jglm.Vec3;

/**
 * Created by Tukasa on 2014/05/14.
 */
public class InputManager implements IUpdatetable
{

  public Vec3 rotation;
  private Scene _scene;
  private float orientation[];

  InputManager(Scene arg_scene)
  {
    _scene = arg_scene;
  }

  @Override
  public void update( final long delta_time_in_ns )
  {
    orientation = _scene.scene_manager.view.activity.orientation_values;
    rotation = new Vec3( orientation[ 0 ], orientation[ 1 ], orientation[ 2 ] );
  }

}

@@ -224,16 +224,17 @@
 e float 
+_
 orientat
@@ -378,16 +378,17 @@
   %7B%0A    
+_
 orientat
@@ -473,16 +473,17 @@
 w Vec3( 
+_
 orientat
@@ -488,24 +488,25 @@
 ation%5B 0 %5D, 
+_
 orientation%5B
@@ -511,16 +511,17 @@
 n%5B 1 %5D, 
+_
 orientat

fix #24 InputManagerの修正