generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from amosproj/sprint-03-release-candidate
Sprint 03 release candidate merged into main branch
- Loading branch information
Showing
20 changed files
with
372 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
*.code-workspace | ||
|
||
# Local History for Visual Studio Code | ||
.history/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"liveServer.settings.port": 5502 | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"lon0":11.111022598146052, | ||
"lat0":49.46121044410717, | ||
"images":[ | ||
[ | ||
11.111036219889447, | ||
49.461208967856706, | ||
1.854, | ||
0.998774, | ||
0.00023, | ||
0.000678, | ||
0.049502, | ||
0.0 | ||
], | ||
[ | ||
11.111047315413398, | ||
49.4612122325651, | ||
1.853, | ||
0.965228, | ||
-8.6e-05, | ||
0.003351, | ||
0.261389, | ||
0.0 | ||
], | ||
[ | ||
11.111058961786934, | ||
49.461220241271604, | ||
1.853, | ||
0.859253, | ||
-0.002567, | ||
0.00361, | ||
0.511532, | ||
0.0 | ||
] | ||
], | ||
"floors":{ | ||
"EG":{ | ||
"z":0.0, | ||
"i":[ | ||
[ | ||
0, | ||
300 | ||
] | ||
], | ||
"map":{ | ||
"width":2728, | ||
"height":2489, | ||
"x":1405, | ||
"y":1744, | ||
"density":50, | ||
"name":"map0" | ||
} | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,5 @@ body { | |
cursor: grabbing; | ||
cursor: -moz-grabbing; | ||
cursor: -webkit-grabbing; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
// Event position in viewer | ||
|
||
export class EventPosition { | ||
constructor() { | ||
|
||
this.x; // Number // y coordinate of this image on the floor | ||
|
||
this.y; // Number // y coordinate of this image on the floor | ||
} | ||
|
||
} | ||
|
||
|
||
export class EventLayer { | ||
constructor() { | ||
this.viewer_contex; | ||
} | ||
|
||
vwr_oncontext (xy, location ){ | ||
//Parameters: | ||
//xy EventPosition: Pointer position | ||
//location THREE.Vector3 : Local coordinates for pointer position+ | ||
viewer_contex = new ViewerContextItem() | ||
return viewer_contex; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const DEFAULT_FOV = 80, MAX_FOV = 100, MIN_FOV = 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"use strict"; | ||
|
||
// Panorama Image | ||
export class ViewerImage { | ||
|
||
constructor([panoLon, panoLat, panoZ, w, x, y, z, floorZ], imageIdx) { | ||
|
||
this.floor; // : String // Name of floor which contains this image | ||
|
||
this.floorZ = floorZ; // : Number // Z coordinate of this image on the floor | ||
|
||
this.hidden; // : Boolean // Flag if this image is hidden | ||
|
||
this.id = imageIdx; // : Number // Image number | ||
|
||
this.pos = [panoLon, panoLat, panoZ]; // : [Number] // WGS 84 coordinates [longitude, latitude, z] of this image | ||
|
||
this.orientation = new THREE.Quaternion(x, y, z, w); | ||
} | ||
|
||
} |
Oops, something went wrong.