Doodle3D-Slicer/doodle_app/index.html
2015-06-16 12:37:51 +02:00

49 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Doodle 3D App</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<script src="../three.js-master/build/three.js"></script>
<script src="../three.js-master/examples/js/controls/EditorControls.js"></script>
<script src="../three.js-master/examples/js/controls/TransformControls.js"></script>
<script src="../three.js-master/examples/js/libs/system.min.js"></script>
<script src="../three.js-master/editor/js/libs/signals.min.js"></script>
<script src="../three.js-master/editor/js/libs/ui.js"></script>
<script src="../three.js-master/editor/js/libs/ui.three.js"></script>
<script src="../three.js-master/editor/js/Storage.js"></script>
<script src="../three.js-master/editor/js/Editor.js"></script>
<script src="../three.js-master/editor/js/Config.js"></script>
<script src="../three.js-master/editor/js/Loader.js"></script>
<script src="../three.js-master/editor/js/Viewport.js"></script>
<script src="../three.js-master/editor/js/Viewport.info.js"></script>
<style>
* {padding: 0px; margin: 0px;}
canvas {border: 1px solid black; margin: 5px;}
.menu_bar {border: 1px solid black; height: 40px; margin: 5px;}
</style>
</head>
<body>
<div class="menu_bar"></div>
<canvas id="design"></canvas>
<canvas id="preview"></canvas>
<div class="menu_bar"></div>
<script>
var editor = new Editor();
var viewport = new Viewport( editor );
document.body.appendChild( viewport.dom );
</script>
</body>
</html>