Back to project page jmini3d.
The source code is released under:
Copyright 2012 Mobialia http://www.mobialia.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
If you think the Android project jmini3d listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jmini3d.gwt.demo; //w ww . j av a 2 s . c om import jmini3d.demo.DemoSceneController; import jmini3d.gwt.EntryPoint3d; import jmini3d.gwt.input.InputController; public class DemoEntryPoint extends EntryPoint3d { InputController inputController; @Override public void onModuleLoad() { resourceDir = "./resources/"; super.onModuleLoad(); DemoSceneController sceneController = new DemoSceneController(); canvas3d.setSceneController(sceneController); canvas3d.getRenderer3d().setLogFps(true); inputController = new InputController(canvas3d.getElement()); inputController.setTouchListener(sceneController); inputController.setKeyListener(sceneController); inputController.scale = canvas3d.getScale(); canvas3d.getElement().focus(); } }