xeolabs/xeogl

A bug of CamerControl

jacklincao opened this issue · 2 comments

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.

yihoo commented

I confirmed this bug, my solution is changing += into -=;
I think two solutions are equal.