forked from apprentice3d/ForgeViewerExtensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cameraRotation.html
32 lines (27 loc) · 1.15 KB
/
cameraRotation.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Forge-Extensions-Example</title>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=no"/>
<meta charset="UTF-8">
<!-- Autodesk Forge Viewer files -->
<link rel="stylesheet" href="https://developer.api.autodesk.com/modelderivative/v2/viewers/7.*/style.min.css" type="text/css">
<script src="https://developer.api.autodesk.com/modelderivative/v2/viewers/7.*/viewer3D.min.js"></script>
<!-- Developer CSS -->
<link rel="stylesheet" href="./assets/css/main.css"/>
<!-- Developer JS -->
<script src="./assets/js/app.js"></script>
<script src="./assets/js/extensions/turnTableExt.js"></script>
</head>
<body>
<div id="MyViewerDiv"></div>
</body>
<script>
let divId = "MyViewerDiv";
let documentId = "urn:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bmlhZ2FyYS1wb2MvQk9mZmljZV9uZXdfUm9vbXMubndk";
let tokenFetchingUrl = "https://9irt90dm6j.execute-api.us-east-1.amazonaws.com/prod";
let extensionArray = ["TurnTable"];
setupViewer(divId, documentId, tokenFetchingUrl, extensionArray);
</script>
</html>