aboutsummaryrefslogtreecommitdiff
path: root/src/library_browser.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-13 18:14:10 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-13 18:15:27 -0700
commitd7c7e70c6c54cb8dd3dea208a53f01f2404fa61d (patch)
treed6c90a3de9491107e5132956416e50ad75a1224b /src/library_browser.js
parent48456b549b1262def4d84a2d058aa46abb22242e (diff)
use Browser mouse calculations in glut
Diffstat (limited to 'src/library_browser.js')
-rw-r--r--src/library_browser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_browser.js b/src/library_browser.js
index 0d0a1ee4..97233c36 100644
--- a/src/library_browser.js
+++ b/src/library_browser.js
@@ -379,7 +379,7 @@ mergeInto(LibraryManager.library, {
mouseMovementX: 0,
mouseMovementY: 0,
- calculateMouseMove: function(event) {
+ calculateMouseEvent: function(event) { // event should be mousemove, mousedown or mouseup
if (Browser.pointerLock) {
// When the pointer is locked, calculate the coordinates
// based on the movement of the mouse.