-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathobj2_options.html
28 lines (25 loc) · 951 Bytes
/
obj2_options.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>OBJLoader2 usage options</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<link type="text/css" rel="stylesheet" href="main.css" />
</head>
<body>
<div id="glFullscreen">
<canvas id="example" style="width: 100%; height: 100vh;"></canvas>
</div>
<div id="dat" style="user-select: none; position: absolute; left: 0; top: 0; z-Index: 200;"></div>
<div id="info">
OBJLoader2 usage options
<div id="feedback" style="color: darkorange"></div>
</div>
<script type="module">
import { OBJLoader2OptionsExample } from './src/examples/OBJLoader2OptionsExample.ts';
import { executeExample } from './src/examples/ExampleCommons.ts';
const exampleApp = new OBJLoader2OptionsExample(document.getElementById('example'));
executeExample(exampleApp);
</script>
</body>
</html>