From ec0f0210ee1d98af75721d0fdd97cd1f4542aff1 Mon Sep 17 00:00:00 2001
From: deser <romain.desert6@etu.univ-lorraine.fr>
Date: Thu, 13 Mar 2025 00:04:36 +0100
Subject: [PATCH] minimal modif

---
 .../checklistProjet.md                        | 12 +++++------
 ALVARIZA-BILLAR_DESERT_KANY/projet.js         | 20 +++++++++++++++++--
 2 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/ALVARIZA-BILLAR_DESERT_KANY/checklistProjet.md b/ALVARIZA-BILLAR_DESERT_KANY/checklistProjet.md
index 9e90e5b..64caead 100644
--- a/ALVARIZA-BILLAR_DESERT_KANY/checklistProjet.md
+++ b/ALVARIZA-BILLAR_DESERT_KANY/checklistProjet.md
@@ -2,19 +2,19 @@
 - [ ] Mise en page de la page web
 - [ ] Paragraphe(s) d'explications techniques
 - [ ] Légèreté du dossier (<2Mo)
-- [ ] Géométrie
-- [ ] Couleur
+- [x] Géométrie
+- [x] Couleur
 - [ ] Transparence
 - [ ] Eclairage
 - [ ] Ombres portées
 - [ ] Position de la caméra
 - [ ] Brouillard
 - [ ] Effet miroir
-- [ ] Texture classique
+- [x] Texture classique
 - [ ] Texture avec transparence
 - [ ] Sprites
 - [ ] Environment map
-- [ ] Skybox
-- [ ] Animations
+- [x] Skybox
+- [x] Animations
 - [ ] normal maps
-- [ ] Interaction par GUI
\ No newline at end of file
+- [X] Interaction par GUI
\ No newline at end of file
diff --git a/ALVARIZA-BILLAR_DESERT_KANY/projet.js b/ALVARIZA-BILLAR_DESERT_KANY/projet.js
index c77e6dc..9c8e56b 100644
--- a/ALVARIZA-BILLAR_DESERT_KANY/projet.js
+++ b/ALVARIZA-BILLAR_DESERT_KANY/projet.js
@@ -37,7 +37,7 @@ function fillScene() {
     capsuleBeton();
     dalleBeton();
     poleAndFlag();
-    // house();     // TODO
+    house();     // TODO : à compléter
     forest();
 }
 
@@ -223,11 +223,27 @@ function poleAndFlag() {
 
 }
 
+/**
+ * Fonction qui permet de créer une ouverture dans un mur
+ */
+function createWallOpenings(wallWidth, wallHeight, wallThickness) {
+    // Création de la forme principale du mur
+    const wallShape = new THREE.Shape();
+    wallShape.moveTo(0, 0);
+    wallShape.lineTo(wallWidth, 0);
+    wallShape.lineTo(wallWidth, wallHeight);
+    wallShape.lineTo(0, wallHeight);
+    wallShape.lineTo(0, 0);
+
+    // Definir une ouverture pour la porte
+}
+
 /**
  * Fonction qui gère la maisonnette
  */
+function house() {
 
-// function house() {}
+}
 
 /**
  * Fonction qui gère la forêt
-- 
GitLab