summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/examples/tumbler/index.html
blob: f2bee02f506811ffb3a3d44bcd92ab8ee6bb18d8 (plain)
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
<!DOCTYPE html>
<html>
  <!--
  Copyright (c) 2012 The Chromium Authors. All rights reserved.
  Use of this source code is governed by a BSD-style license that can be
  found in the LICENSE file.
  -->
<head>
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Expires" content="-1" />
  <title><TITLE></title>
    <script type="text/javascript">
      // Provide the tumbler namespace
      tumbler = {};
    </script>
    <script type="text/javascript" src="bind.js"></script>
    <script type="text/javascript" src="dragger.js"></script>
    <script type="text/javascript" src="tumbler.js"></script>
    <script type="text/javascript" src="vector3.js"></script>
    <script type="text/javascript" src="trackball.js"></script>
</head>
  <body id="bodyId">
    <h1>Interactive Cube Example</h1>
    <p>
      The Native Client module executed in this page draws a 3D cube
      and allows you to rotate it using a virtual trackball method.
    </p>
    <div id="tumbler_view"></div>
    <script type="text/javascript">
      tumbler.application = new tumbler.Application();
      tumbler.application.run('tumbler_view');
    </script>
  </body>
</html>