Skip to content

Commit fe1e38b

Browse files
Fix tag issues + improve layout
1 parent e5a9e37 commit fe1e38b

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

examples/ammo/constraints.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
raycaster="objects:[force-pushable]"
3333
position="0 0 -0.5"
3434
geometry="primitive: circle; radius: 0.01; segments: 4;"
35-
material="color: #FF4444; shader: flat"></a-entity>
35+
material="color: #FF4444; shader: flat">
36+
</a-entity>
3637
</a-entity>
3738
<a-entity blink-controls="cameraRig: #cameraRig; button: trigger"
3839
ammo-body="type: kinematic"

examples/cannon-worker/constraints.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@
2626
view code
2727
</a>
2828
<a-scene physics="driver: worker" environment>
29-
<a-entity id="cameraRig"></a-entity>
29+
<a-entity id="cameraRig">
3030
<a-entity camera look-controls wasd-controls position="0 1.6 0">
31-
<a-entity cursor
32-
raycaster="objects:[force-pushable]"
33-
position="0 0 -0.5"
34-
geometry="primitive: circle; radius: 0.01; segments: 4;"
35-
material="color: #FF4444; shader: flat"></a-entity>
31+
<a-entity cursor
32+
raycaster="objects:[force-pushable]"
33+
position="0 0 -0.5"
34+
geometry="primitive: circle; radius: 0.01; segments: 4;"
35+
material="color: #FF4444; shader: flat">
36+
</a-entity>
3637
</a-entity>
3738
<a-entity blink-controls="cameraRig: #cameraRig; button: trigger"
3839
hand-controls="hand: left" static-body="shape: sphere; sphereRadius: 0.02;" grab></a-entity>

examples/cannon/constraints.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@
2525
view code
2626
</a>
2727
<a-scene environment>
28-
<a-entity id="cameraRig"></a-entity>
28+
<a-entity id="cameraRig">
2929
<a-entity camera look-controls wasd-controls position="0 1.6 0">
30-
<a-entity cursor
31-
raycaster="objects:[force-pushable]"
32-
position="0 0 -0.5"
33-
geometry="primitive: circle; radius: 0.01; segments: 4;"
34-
material="color: #FF4444; shader: flat"></a-entity>
30+
<a-entity cursor
31+
raycaster="objects:[force-pushable]"
32+
position="0 0 -0.5"
33+
geometry="primitive: circle; radius: 0.01; segments: 4;"
34+
material="color: #FF4444; shader: flat">
35+
</a-entity>
3536
</a-entity>
3637
<a-entity blink-controls="cameraRig: #cameraRig; button: trigger"
3738
hand-controls="hand: left" static-body="shape: sphere; sphereRadius: 0.02;" grab></a-entity>

0 commit comments

Comments
 (0)