mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
whitebrd
This commit is contained in:
parent
bdcc621996
commit
9933690ed6
2 changed files with 6 additions and 4 deletions
|
@ -148,11 +148,13 @@
|
|||
x: 1101.2123,
|
||||
y: 460.2328,
|
||||
z: -65.8513
|
||||
}, {
|
||||
},
|
||||
{
|
||||
x: 97.3683,
|
||||
y: 179.0293,
|
||||
z: 89.9698
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@ var MARKER_SCRIPT_URL = Script.resolvePath("markerEntityScript.js?" + Math.rando
|
|||
|
||||
Whiteboard = function(spawnPosition, spawnRotation) {
|
||||
|
||||
var orientation = Quat.fromPitchYawRollDegrees(spawnRotation.x,spawnRotation.y,spawnRotation.z);
|
||||
var orientation = Quat.fromPitchYawRollDegrees(spawnRotation.x, spawnRotation.y, spawnRotation.z);
|
||||
var markers = [];
|
||||
|
||||
|
||||
var whiteboardPosition = spawnPosition;
|
||||
var whiteboardRotation = orientation;
|
||||
var WHITEBOARD_MODEL_URL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/models/Whiteboard-4.fbx";
|
||||
var WHITEBOARD_COLLISION_HULL_URL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/models/whiteboardCollisionHull.obj";
|
||||
var whiteboard = Entities.addEntity({
|
||||
|
|
Loading…
Reference in a new issue