Doodle3D-Slicer/doodle_app/index.html

58 lines
1.4 KiB
HTML
Raw Normal View History

2015-06-16 12:37:51 +02:00
<!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">
<link href="css/main.css" rel="stylesheet" />
<link id="theme" href="css/light.css" rel="stylesheet" />
2015-06-16 12:37:51 +02:00
<script src="../three.js-master/build/three.js"></script>
<script src="lib/paper-core.js"></script>
2015-06-16 12:37:51 +02:00
<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/Storage.js"></script>
<script src="js/DrawCanvas.js"></script>
<script src="ui/Editor.js"></script>
<script src="ui/Config.js"></script>
<script src="ui/Preview.js"></script>
<script src="ui/Design.js"></script>
2015-06-16 12:37:51 +02:00
</head>
<body>
<script>
var editor = new Editor();
var design = new Design(editor);
document.body.appendChild(design.dom);
var preview = new Preview(editor);
document.body.appendChild(preview.dom);
var onWindowResize = function (event) {
"use strict";
editor.signals.windowResize.dispatch();
};
2015-06-16 12:37:51 +02:00
window.addEventListener('resize', onWindowResize, false);
2015-06-16 12:37:51 +02:00
onWindowResize();
2015-06-16 12:37:51 +02:00
</script>
</body>
</html>