mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
Pre- ray cast
This commit is contained in:
parent
56a2aa101c
commit
96fd634138
1 changed files with 8 additions and 4 deletions
|
@ -16,6 +16,8 @@
|
||||||
(function() {
|
(function() {
|
||||||
|
|
||||||
var _this;
|
var _this;
|
||||||
|
var RIGHT_HAND = 1;
|
||||||
|
var LEFT_HAND = 0;
|
||||||
Whiteboard = function() {
|
Whiteboard = function() {
|
||||||
_this = this;
|
_this = this;
|
||||||
};
|
};
|
||||||
|
@ -23,18 +25,20 @@
|
||||||
Whiteboard.prototype = {
|
Whiteboard.prototype = {
|
||||||
|
|
||||||
setRightHand: function() {
|
setRightHand: function() {
|
||||||
this.hand = 'RIGHT';
|
this.hand = RIGHT_HAND;
|
||||||
},
|
},
|
||||||
|
|
||||||
setLeftHand: function() {
|
setLeftHand: function() {
|
||||||
this.hand = 'LEFT';
|
this.hand = LEFT_HAND;
|
||||||
},
|
},
|
||||||
|
|
||||||
startFarGrabNonColliding: function() {
|
startFarGrabNonColliding: function() {
|
||||||
this.whichHand = this.hand;
|
this.activeHand = this.hand;
|
||||||
},
|
},
|
||||||
|
|
||||||
continueFarGrabbingNonColliding: function() {},
|
continueFarGrabbingNonColliding: function() {
|
||||||
|
var handClick = Controller.findAction(handClickString);
|
||||||
|
},
|
||||||
|
|
||||||
preload: function(entityID) {
|
preload: function(entityID) {
|
||||||
this.entityID = entityID;
|
this.entityID = entityID;
|
||||||
|
|
Loading…
Reference in a new issue