Skip to content
Snippets Groups Projects
Commit c9fcfc15 authored by ALGUL Sefer's avatar ALGUL Sefer
Browse files

Update index.html

parent 2037d6c2
No related branches found
No related tags found
No related merge requests found
Le travail n'a pas encore commencé!!!
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Projet WebGL</title>
<style>
body {
margin: 0;
}
canvas {
width: 100%;
height: 100%;
}
.centre {
text-align: center;
}
</style>
</head>
<body>
<!-- Chargement du polyfill pour les import maps -->
<script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three@0.138.0/build/three.module.js",
"three/addons/controls/OrbitControls.js": "https://cdn.jsdelivr.net/npm/three@0.138.0/examples/jsm/controls/OrbitControls.js",
"three/addons/loaders/OBJLoader.js": "https://cdn.jsdelivr.net/npm/three@0.138.0/examples/jsm/loaders/OBJLoader.js",
"Coordinates": "./lib/Coordinates.js",
"dat.gui": "https://cdn.jsdelivr.net/npm/dat.gui@0.7.9/build/dat.gui.module.js"
}
}
</script>
<!-- JQuery pour afficher les erreurs -->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<h1 class="centre">Projet WebGL</h1>
<div id="webGL" class="centre"></div>
<!-- Votre script principal -->
<script type="module" src="index.js"></script>
<p class="centre">Projet réalisée par Sefer, Louis et Mehdi</p>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment