diff --git a/HERRY-M--HERRY-E/TABLO.js b/HERRY-M--HERRY-E/TABLO.js new file mode 100644 index 0000000000000000000000000000000000000000..153766c1b8d165fd08d18e072234531dffddc5fd --- /dev/null +++ b/HERRY-M--HERRY-E/TABLO.js @@ -0,0 +1,44 @@ +"use strict"; + +// IMPORTS +import * as THREE from 'three'; +import { TWEEN } from 'https://unpkg.com/three@0.139.0/examples/jsm/libs/tween.module.min.js'; +import { OBJLoader } from 'three/addons/loaders/OBJLoader.js'; +import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; +import { dat } from '../lib/dat.gui.min.js'; +import { Coordinates } from '../lib/Coordinates.js'; + +// DECLARATIONS +var camera, scene, renderer; +var windowScale; +var cameraControls, effectController; +var clock = new THREE.Clock(); +var gridX = true; +var gridY = false; +var gridZ = false; +var axes = true; +var ground = true; + +function init(){ + +} + +function fillscene(){ + +} + +function animate(){ + +} + +function render(){ + +} + +try { + init(); + animate(); +} catch (e) { + var errorReport = "Your program encountered an unrecoverable error, can not draw on canvas. Error was:<br/><br/>"; + $('#webGL').append(errorReport + e); +} \ No newline at end of file diff --git a/HERRY-M--HERRY-E/index.html b/HERRY-M--HERRY-E/index.html index d6108786f0d75faec89606cf9bb2aeefe2c50edb..2fe952cdc3b2e44569e1d4fc8236d3016d2bdeaa 100644 --- a/HERRY-M--HERRY-E/index.html +++ b/HERRY-M--HERRY-E/index.html @@ -29,7 +29,7 @@ <h1 class="centre"> HERRY Mattéo - HERRY Elwyn</h1> <div id="webGL" class="centre"></div> <!-- Mon script avec un chemin relatif --> - <script type="module" src="exo2.js"></script> - <p class="centre"> Exercice 1 </p> + <script type="module" src="TABLO.js"></script> + <p class="centre"> LE TABLO</p> </body> </html> \ No newline at end of file