mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 22:40:27 +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 MAX_DISTANCE = 10;
|
||||||
|
|
||||||
var STROKE_WIDTH = 0.02
|
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())));
|
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 rightController = new MyController(RIGHT_HAND, Controller.findAction("RIGHT_HAND_CLICK"));
|
||||||
var leftController = new MyController(LEFT_HAND, Controller.findAction("LEFT_HAND_CLICK"));
|
var leftController = new MyController(LEFT_HAND, Controller.findAction("LEFT_HAND_CLICK"));
|
||||||
|
|
||||||
|
Controller.actionEvent.connect(function(action, state) {
|
||||||
|
print("ACTION " + action)
|
||||||
|
});
|
||||||
|
|
||||||
function update() {
|
function update() {
|
||||||
rightController.update();
|
rightController.update();
|
||||||
leftController.update();
|
leftController.update();
|
||||||
|
|
Loading…
Reference in a new issue