We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211bd43 commit e512c57Copy full SHA for e512c57
three.js/examples/location-based/index.js
@@ -15,6 +15,11 @@ function main() {
15
16
// You can change the minimum GPS accuracy needed to register a position - by default 1000m
17
//const arjs = new LocationBased(scene, camera, { gpsMinAccuracy: 30 } );
18
+
19
+ // You can set the initial position
20
+ // const initialPosition = { longitude: 51.47816410406528, latitude: -0.001540203696240924 };
21
+ // const arjs = new LocationBased(scene, camera, { initialPosition });
22
23
const cam = new WebcamRenderer(renderer, '#video1');
24
25
const mouseStep = THREE.MathUtils.degToRad(5);
0 commit comments