History

Using new variable in all references to S3 bucket

Leonardo Murillo committed 12 years ago

Commit f0852ba1 parent f284fc538 files · +290 −213Browse files

Showing the changes to examples/editModelExample.js (1 of 38 files). Show all

Unified · Split

examples/editModelExample.js+8−6
@@ -11,6 +11,8 @@ · 10 unmodified lines
11// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html11// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
12//12//
13 13
14Script.include("libraries/globals.js");
15
14var count = 0;16var count = 0;
15var moveUntil = 2000;17var moveUntil = 2000;
16var stopAfter = moveUntil + 100;18var stopAfter = moveUntil + 100;
@@ -31,12 +33,12 @@ var originalProperties = { · 14 unmodified lines
31 green: 255,33 green: 255,
32 blue: 0 },34 blue: 0 },
33 35
34 modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/Feisar_Ship.FBX",36 modelURL: HIFI_PUBLIC_BUCKET + "meshes/Feisar_Ship.FBX",
35 //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/birarda/birarda_head.fbx",37 //modelURL: HIFI_PUBLIC_BUCKET + "meshes/birarda/birarda_head.fbx",
36 //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/pug.fbx",38 //modelURL: HIFI_PUBLIC_BUCKET + "meshes/pug.fbx",
37 //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/newInvader16x16-large-purple.svo",39 //modelURL: HIFI_PUBLIC_BUCKET + "meshes/newInvader16x16-large-purple.svo",
38 //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/minotaur/mino_full.fbx",40 //modelURL: HIFI_PUBLIC_BUCKET + "meshes/minotaur/mino_full.fbx",
39 //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/Combat_tank_V01.FBX",41 //modelURL: HIFI_PUBLIC_BUCKET + "meshes/Combat_tank_V01.FBX",
40 42
41 rotation: rotation43 rotation: rotation
42};44};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t