Skip to content

Commit d1dcbca

Browse files
add some comments
1 parent a948253 commit d1dcbca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

aframe/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ In addition, you can use the a-frame "position" parameter to assign a y-value or
100100
| distance | Distance from user, updated at every user position update. Value in meters. | 0 |
101101
| distanceMsg | Distance from user, updated at every user position update. Value as `<distance> meters/kilometers`. | '' |
102102

103-
### `gps-camera-debug`
103+
### `gps-camera-debug` [deprecated, may not work]
104104

105105
**Required**: no
106106
**Max allowed per scene**: 1

aframe/examples/only-html/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
embedded
1818
arjs='sourceType: webcam; sourceWidth:1280; sourceHeight:960; displayWidth: 1280; displayHeight: 960; debugUIEnabled: false;'>
1919

20-
<a-box scale="15 15 15" position="0 200 0" gps-entity-place="latitude: 44.493271; longitude: 11.326040;"></a-box>
21-
<a-camera gps-camera rotation-reader>
20+
<a-box material="color: red;" scale="300 300 300" position="0 0 0" gps-entity-place="latitude: 44.498529; longitude: 11.356657;"></a-box>
21+
<!-- use far property to hide objects over 5000 meters -->
22+
<a-camera far="5000" gps-camera rotation-reader>
2223
</a-camera>
2324
</a-scene>
2425
</body>

0 commit comments

Comments
 (0)