2022-06-22 01:49:01 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>Continually Rotate A Triangle (Button)</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body onload="main()">
|
|
|
|
<canvas id="webgl" width="400" height="400">
|
|
|
|
Please use a browser that supports "canvas"
|
|
|
|
</canvas>
|
|
|
|
<p>
|
|
|
|
<button type="button" onclick="up()">UP</button>
|
|
|
|
<button type="button" onclick="down()">DOWN</button>
|
|
|
|
</p>
|
|
|
|
<script src="../lib/webgl-utils.js"></script>
|
|
|
|
<script src="../lib/webgl-debug.js"></script>
|
|
|
|
<script src="../lib/cuon-utils.js"></script>
|
|
|
|
<script src="../lib/cuon-matrix.js"></script>
|
2022-07-01 05:38:54 +00:00
|
|
|
<script src="PendulumComponents.js"></script>
|
2022-06-22 01:49:01 +00:00
|
|
|
<script src="Pendulum.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|