mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
less points per line
This commit is contained in:
parent
e516281da8
commit
3592b78b2b
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,7 @@ var TRIGGER_ON_VALUE = 0.3;
|
|||
var MAX_DISTANCE = 10;
|
||||
|
||||
var STROKE_WIDTH = 0.02
|
||||
var MAX_POINTS_PER_LINE = 60;
|
||||
var MAX_POINTS_PER_LINE = 40;
|
||||
|
||||
|
||||
var center = Vec3.sum(MyAvatar.position, Vec3.multiply(2, Quat.getFront(Camera.getOrientation())));
|
||||
|
@ -221,6 +221,10 @@ function MyController(hand, triggerAction) {
|
|||
var rightController = new MyController(RIGHT_HAND, Controller.findAction("RIGHT_HAND_CLICK"));
|
||||
var leftController = new MyController(LEFT_HAND, Controller.findAction("LEFT_HAND_CLICK"));
|
||||
|
||||
Controller.actionEvent.connect(function(action, state) {
|
||||
print("ACTION " + action)
|
||||
});
|
||||
|
||||
function update() {
|
||||
rightController.update();
|
||||
leftController.update();
|
||||
|
|
Loading…
Reference in a new issue