This commit is contained in:
parent
039a9f3ee9
commit
44e8e51e49
3 changed files with 9 additions and 10 deletions
2
make
2
make
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
REDBEAN_VERSION=https://redbean.dev/redbean-2.2.com
|
||||
APP=xrshell
|
||||
APP=xrsh
|
||||
|
||||
export PATH=$PATH:.
|
||||
silent(){ "$@" 1>/dev/null 2>/dev/null; }
|
||||
|
|
|
|||
2
src/assets/aframe.min.js
vendored
Normal file
2
src/assets/aframe.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -4,18 +4,15 @@
|
|||
<title>xrsh</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
<script src="https://aframe.io/releases/1.4.2/aframe.min.js"></script>
|
||||
|
||||
<!-- components & webxr apps -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/aframe-blink-controls/dist/aframe-blink-controls.min.js"></script>
|
||||
<script src="https://coderofsalvation.github.io/xrsh-apps/helloworld.js"></script>
|
||||
<script src="./assets/aframe.min.js"></script>
|
||||
<script src="apps/com/require.js"></script>
|
||||
<script src="apps/com/helloworld.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<a-scene light="defaultLightsEnabled: false" require>
|
||||
<a-box helloworld position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box>
|
||||
<a-sphere helloworld position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere>
|
||||
<a-cylinder helloworld position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder>
|
||||
<a-scene light="defaultLightsEnabled: true" require helloworld="things: foo,bar">
|
||||
<a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box>
|
||||
<a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere>
|
||||
<a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder>
|
||||
|
||||
<a-entity id="player" wasd-controls look-controls>
|
||||
<a-entity id="left-hand" laser-controls="hand: left" raycaster="objects:.ray" blink-controls="cameraRig:#player; teleportOrigin: #camera; collisionEntities: #floor"></a-entity>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue