21 lines
371 B
HTML
21 lines
371 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>cube</title>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<button id = "ButtonX">Rotate X</button>
|
|
<button id = "ButtonY">Rotate Y</button>
|
|
<button id = "ButtonZ">Rotate Z</button>
|
|
<button id = "ButtonT">Toggle Rotation</button>
|
|
|
|
|
|
<script src="../../three.js-master/build/three.js"></script>
|
|
|
|
<script src="three2.js"></script>
|
|
|
|
</body>
|
|
</html>
|