From 11a5358a6eea8fbec449bed03fc5bb6a982a89da Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Thu, 25 Sep 2014 18:12:30 -0700 Subject: [PATCH] Adapted radio.js to new funciton calls --- examples/radio.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/radio.js b/examples/radio.js index 83e81e7e02..c7a6fdcc97 100644 --- a/examples/radio.js +++ b/examples/radio.js @@ -10,7 +10,7 @@ // -var modelURL = "https://s3-us-west-1.amazonaws.com/highfidelity-public/models/entities/radio/Speakers2Finished.fbx"; +var modelURL = "https://s3-us-west-1.amazonaws.com/highfidelity-public/models/entities/radio/Speakers2_DeletedPlanes.fbx"; var soundURL = "https://s3-us-west-1.amazonaws.com/highfidelity-public/sounds/FamilyStereo.raw"; var AudioRotationOffset = Quat.fromPitchYawRollDegrees(0, -90, 0); @@ -20,7 +20,7 @@ audioOptions.loop = true; audioOptions.isStereo = true; var injector = null; -var sound = new Sound(soundURL); +var sound = new Sound(soundURL, audioOptions.isStereo); var entity = null; var properties = null; @@ -38,7 +38,7 @@ function update() { type: "Model", position: position, rotation: rotation, - dimensions: { x: 0.5, y: 0.5, z: 0.5 }, + dimensions: { x: 0.2, y: 0.2, z: 0.2 }, modelURL: modelURL }); properties = Entities.getEntityProperties(entity);