index.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <html lang="">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  8. <link rel="stylesheet" href="<%= BASE_URL %>css/notyf.min.css">
  9. <link rel="stylesheet" href="<%= BASE_URL %>css/font-awesome.min.css">
  10. <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
  11. <title>云仿真测试系统</title>
  12. <script src="<%= BASE_URL %>js/dat.gui.min.js"></script>
  13. <script src="<%= BASE_URL %>js/libOpenDrive.js"></script>
  14. <script src="<%= BASE_URL %>js/notyf.min.js"></script>
  15. <script id="idVertexShader" type="x-shader/x-vertex">
  16. attribute vec4 id;
  17. varying vec4 vId;
  18. void main() {
  19. vId = id;
  20. gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
  21. }
  22. </script>
  23. <script id="idFragmentShader" type="x-shader/x-vertex">
  24. varying vec4 vId;
  25. void main() {
  26. gl_FragColor = vId;
  27. }
  28. </script>
  29. <script id="xyzVertexShader" type="x-shader/x-vertex">
  30. varying vec3 vXYZ;
  31. void main() {
  32. vXYZ = position;
  33. gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
  34. }
  35. </script>
  36. <script id="xyzFragmentShader" type="x-shader/x-vertex">
  37. varying vec3 vXYZ;
  38. void main() {
  39. gl_FragColor = vec4(vXYZ, 1.0);
  40. }
  41. </script>
  42. <script id="stVertexShader" type="x-shader/x-vertex">
  43. attribute vec2 st;
  44. varying vec2 vST;
  45. void main() {
  46. vST = st;
  47. gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
  48. }
  49. </script>
  50. <script id="stFragmentShader" type="x-shader/x-vertex">
  51. varying vec2 vST;
  52. void main() {
  53. gl_FragColor = vec4(vST.x, vST.y, 0.0, 1.0);
  54. }
  55. </script>
  56. </head>
  57. <body>
  58. <noscript>
  59. <strong>We're sorry but 仿真云平台 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  60. </noscript>
  61. <div id="app"></div>
  62. <script src="<%= BASE_URL %>js/controls.js"></script>
  63. <!-- built files will be auto injected -->
  64. </body>
  65. </html>