-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.html
47 lines (47 loc) · 1.56 KB
/
editor.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<title>Glunzunk Engine</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="editor.css">
<link rel="stylesheet" href="assets/css/satoshi.css">
<link rel="stylesheet" href="assets/fonts/web/inter.css">
<link rel="stylesheet" href="assets/fonts/roboto/style.css">
<link rel="stylesheet" href="libs/winbox.min.css">
<link rel="stylesheet" href="window.css">
<script src="scripts/mainmenu.js"></script>
<script src="scripts/engine/babylon.js"></script>
<script src="scripts/default-project.js"></script>
<script src="libs/winbox.min.js"></script>
<script src="libs/jquery.min.js"></script>
<style>
#renderCanvas {
position: fixed;
top: 0;
z-index: -5;
width: 100%;
height: 100%;
touch-action: none;
}
</style>
</head>
<body>
<div class=titlebar>
<img width=50px src=assets/ui/gzlogo.png>
<p class=projectname>Project Name</p>
</div>
<canvas id=renderCanvas></canvas>
<script src="editor.js"></script>
<div class=gizmo-manager>
<button class='tiny-btn light-color' onclick="showGizmo('position')">
<img width=24 src=assets/icons/position.svg>
</button>
<button class='tiny-btn light-color' onclick="showGizmo('rotation')">
<img width=24 src=assets/icons/rotate.svg>
</button>
<button class='tiny-btn light-color' onclick="showGizmo('scale')">
<img width=24 src=assets/icons/scale.svg>
</button>
</div>
</body>
</html>