|
@@ -1,13 +1,13 @@
|
|
|
this.triggerdown = function(){
|
|
|
let scene = this.getScene();
|
|
|
- this.pointer.material.color = "black";
|
|
|
+ this.pointer.material.color = "white";
|
|
|
this.penDown = true;
|
|
|
this.penName = 'drawNode-' + scene.GUID();
|
|
|
scene.createDrawNode(scene.drawBox, this.penName, "#f9f9f9", 0.007, "0 0 0");
|
|
|
}
|
|
|
|
|
|
this.triggerup = function(){
|
|
|
- this.pointer.material.color = "white";
|
|
|
+ this.pointer.material.color = "green";
|
|
|
this.penDown = false;
|
|
|
}
|
|
|
|