content/hifi-content/brosche/dev/portalSpheres/Portal-UI/portalUI.js
2022-02-13 21:50:01 +01:00

11 lines
No EOL
369 B
JavaScript

(function(){
function avatarOffset(offset){
return Vec3.subtract(MyAvatar.position, offset);
}
var sphere01 = Entities.addEntity({ type: "Sphere", position: MyAvatar.position });
var sphere02 = Entities.addEntity({ type: "Sphere", position: MyAvatar.position });
var sphere03 = Entities.addEntity({ type: "Sphere", position: MyAvatar.position });
})();