1.0.0 • Published 5 years ago
aframe-cad-controls v1.0.0
aframe-cad-controls
NPM
npm i aframe-cad-controls
// main.js
require('aframe-cad-controls');
Browserify
browserify main.js -o bundle.js
HTML
<html>
<head>
</head>
<script src="bundle.js"></script>
<body>
<a-scene background= "color:black">
<a-entity camera cad-controls></a-entity>
<a-box position="0 0 0" color="tomato" depth="0.1" height="0.2" width="0.15"></a-box>
<a-sky color="#ECECEC"></a-sky>
</a-scene>
</body>
</html>
Examples
Cylinder
VR Mixed Reality