xeogl
xeogl copied to clipboard
A bug of CamerControl
I find a bug in line 1113 if (down) { panVy += elapsed * keyboardPanRate; }
in src/controls/cameraControl.js
, when I hold down X
to let cameraControl down. And I fixed this problem by modifying the expression if (down) { panVy += -elapsed * keyboardPanRate; }
, I have make a PR about it, Please see if my modification is correct. Thanks.
I confirmed this bug, my solution is changing += into -=; I think two solutions are equal.
#311 #312