mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:24:08 +02:00
added a comment
This commit is contained in:
parent
5fdf114ff0
commit
f2b95e0a00
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ void Hand::simulate(float deltaTime, bool isMine) {
|
|||
|
||||
if (palm.getControllerButtons() & BUTTON_1) {
|
||||
if (glm::length(fingerTipPosition - _lastFingerAddVoxel) > (FINGERTIP_VOXEL_SIZE / 2.f)) {
|
||||
// TODO: we need to move this code to JS so it can access the editVoxels.js color palette
|
||||
QColor paintColor(128,128,128);
|
||||
Application::getInstance()->makeVoxel(fingerTipPosition,
|
||||
FINGERTIP_VOXEL_SIZE,
|
||||
|
|
Loading…
Reference in a new issue