Skip to content
Snippets Groups Projects
Commit aa24edb6 authored by housseme.chaibi's avatar housseme.chaibi
Browse files

lab4

parent 307ab4be
No related branches found
No related tags found
No related merge requests found
File added
This diff is collapsed.
File added
......@@ -2,15 +2,28 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Lab 4</title>
<title>Simple model</title>
</head>
<body onload="main()">
<input type="checkbox" id="camx" name="camx" onclick="getCamera();"value="camx" />Rotate X
<input type="checkbox" id="camy" name="camy"
value="camy" onclick="getCamera();" /> Rotate Y
<input type="checkbox" id="camz" name="camz"
value="camz" /> Rotate Z<br onclick="getCamera();" />
<label id="x">X=</label > <label id="valx">0</label>
<label id="y">&nbsp;Y=</label> <label id="valy">0</label>
<label id="z">&nbsp; Z=</label> <label id="valz">0</label> <br>
<canvas width="400" height="600" id="my-canvas">
Please use a browser that supports "canvas"
Please use a browser that supports "canvas" \n
</canvas>
<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>
<script src="lab4.js"></script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment