2017-11-06 20:52:14 +01:00
|
|
|
//console.log(data);
|
2017-11-06 20:44:12 +01:00
|
|
|
|
|
|
|
var camera = GameLib.EntityManager.Instance.findComponentById('knwkksjc7n');
|
|
|
|
|
2017-11-06 21:01:43 +01:00
|
|
|
camera.lookAt.x = (-1 * (window.innerWidth / 2 - data.event.x)) * 0.025;//(window.clientWidth/ 2) + data.event.x;
|
|
|
|
camera.lookAt.y = ((window.innerHeight / 2 - data.event.y)) * 0.025;
|
2017-11-06 20:44:12 +01:00
|
|
|
|
|
|
|
camera.updateInstance();
|
2017-11-06 20:38:13 +01:00
|
|
|
|
|
|
|
//@ sourceURL=mouseMove.js
|