topical media & game development

talk show tell print

mobile-query-three-plugins-deviceorientation-tquery.deviceorientation.js / js



  
plugin to handle deviceOrientation API

  
  (function(){
          var instance        = null;
          tQuery.registerStatic('deviceOrientation', function(){
                  if( !instance )        instance = new THREEx.DeviceOrientationState();
                  return instance;
          });        
  })();
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.