mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 11:22:18 +02:00
Rotation tools' onMove methods now use rayPlaneIntersection rather than using the giant invisible rotateOverlayTarget. It can likely be entirely removed in the next commit. tool.onBegin's signature is now (event, pickRay, pickResult, ...) -- this allows us to avoid recomputing the ray or intersection when unnecessary. translateXZTool is now a part of the grabberTools array; addGrabberTool and addStretchTool have been modified to return the tool reference (and not disassemble and reassemble the tools, so they can keep their own local functions and state). This does make the array potentially less type-uniform, which may (?) undo some javascript optimizations, but allows us to eventually remove some state -- and they're only 1x/frame methods. We now compute rotationNormal in rotation tool onBegin, rather than having many different normals lying around. Merged the final branches in mousePressEvent. Also fixed issue with mode TRANSLATE_XZ test within updateRotationHandles. Reviewed-by: LaShonda Hopper <lashonda@1stplayable.com> |
||
---|---|---|
.. | ||
accountUtils.js | ||
cloneEntityUtils.js | ||
controllerDispatcherUtils.js | ||
controllers.js | ||
dataViewHelpers.js | ||
entityCameraTool.js | ||
entityIconOverlayManager.js | ||
entityList.js | ||
entitySelectionTool.js | ||
globals.js | ||
gridTool.js | ||
overlayUtils.js | ||
progressDialog.js | ||
soundArray.js | ||
stringHelpers.js | ||
toolBars.js | ||
ToolTip.js | ||
touchEventUtils.js | ||
Trigger.js | ||
utils.js | ||
WebTablet.js | ||
Xform.js |