mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
logging
This commit is contained in:
parent
a79d334bed
commit
0602bf7f1a
1 changed files with 3 additions and 1 deletions
|
@ -48,9 +48,12 @@
|
|||
entities.forEach(function(entity) {
|
||||
var entityName = Entities.getEntityProperties(entity, "name").name;
|
||||
if (entityName === _this.WHITEBOARD_SURFACE_NAME) {
|
||||
|
||||
_this.whiteboards.push(entity);
|
||||
}
|
||||
});
|
||||
|
||||
print("intersectable entities " + JSON.stringify(_this.whiteboards))
|
||||
},
|
||||
|
||||
releaseEquip: function() {
|
||||
|
@ -72,7 +75,6 @@
|
|||
var intersection = Entities.findRayIntersectionBlocking(pickRay, true, _this.whiteboards);
|
||||
_this.whiteboardNormal = Quat.getFront(intersection.properties.rotation);
|
||||
if (intersection.intersects && Vec3.distance(intersection.intersection, markerProps.position) < _this.MAX_MARKER_TO_BOARD_DISTANCE) {
|
||||
print("EBL HIT")
|
||||
Overlays.editOverlay(_this.laserPointer, {
|
||||
visible: true,
|
||||
position: intersection.intersection,
|
||||
|
|
Loading…
Reference in a new issue