More doors

This commit is contained in:
Tony Garnock-Jones 2023-02-14 21:27:16 +01:00
parent e52baa41c3
commit cd623194d2
1 changed files with 21 additions and 16 deletions

View File

@ -1,4 +1,4 @@
<sprite "light" [] <hemispheric-light <v 0.1 1.0 0.0>>>
<sprite "light" [] <hemispheric-light <v 0.2 1.0 0.0>>>
; <gravity <v 0.0 -9.81 0.0>>
<sprite "sky" [] <skybox "textures/Daylight Box UV_0">>
@ -66,16 +66,18 @@
[ to [s1 s2] [s1 F 90 L s2 F 90 L] 2 times ] to rectL
2.3 to interiorWallHeight
2.5 to interiorWallHeight
2.5 to exteriorWallHeight
2.11 to doorHeight
[ 90 R 0.06 F 90 L ] to setup
[setup [interiorWallHeight 0.12 rectL] drawPen] recordPen to interiorWall
[setup [exteriorWallHeight 0.25 rectL] drawPen] recordPen to exteriorWall
[setup 2.11 F [interiorWallHeight 2.11 - 0.12 rectL] drawPen] recordPen to interiorDoor
[setup 2.11 F [exteriorWallHeight 2.11 - 0.25 rectL] drawPen] recordPen to exteriorDoor
[setup doorHeight F [interiorWallHeight doorHeight - 0.12 rectL] drawPen] recordPen to interiorDoor
[setup doorHeight F [exteriorWallHeight doorHeight - 0.25 rectL] drawPen] recordPen to exteriorDoor
[to [f] interiorDoor f interiorWall] to iDoor
[to [f] exteriorDoor f exteriorWall] to eDoor
[ to [angle length] [ angle L [length F] draw ] saved ] to wall
@ -87,15 +89,15 @@
exteriorWall
[
2.1 F --
0.3 F exteriorDoor 1 F exteriorWall 0.9 F ++
0.3 F [1 F] eDoor 0.9 F ++
7.7 F ++
13.3 F ++
0.7 F --
2.2 F ++
1.3 F [0.7 F] eDoor 0.2 F ++
4.8 F ++
2.2 F --
1.1 F [0.8 F] eDoor 0.3 F --
4.3 F ++
11.1 F ++
5.9 F [1.4 F] eDoor 3.8 F ++
] draw
interiorWall
@ -105,18 +107,21 @@
1.1 B [90 L [0.2 F [1 F] iDoor 1 F] draw] saved
1.4 B [
++
[2.1 F ++ 3 F] draw 3 B
0.7 F -- [0.1 F [0.7 F] iDoor 0.1 F] draw ++ 3.2 B
[4.2 F -- 2.7 F -- 0.4 F ++ 1.0 F] draw
[2.1 F ++ 1 F [0.6 F] iDoor 1.4 F] draw 3 B
0.7 F -- [0.1 F [0.7 F] iDoor 0.1 F] draw
[[2.7 F ++ 0.6 F] draw] saved
++ 3.2 B
[4.2 F -- 0.2 F [1 F] iDoor 1.5 F -- 0.4 F ++] draw
[0.1 F [0.7 F] iDoor 0.2 F] draw
[-- [3.8 F] draw] saved
[4.5 F] draw
[0.9 F [0.6 F] iDoor 3.0 F] draw
[-- [3.1 F] draw] saved
[1.3 F] draw
[++ [1.6 F] draw] saved
[1 F] draw
[0.2 F [0.7 F] iDoor 0.4 F] draw
[++ [1.7 F] draw] saved
[0.1 F [0.6 F] iDoor 0.2 F] draw
] saved
1.6 B [90 L [0.2 F [1 F] iDoor 1 F] draw] saved
1.4 B [90 R [2.3 F [0.7 F] iDoor 8.1 F] draw] saved
1.4 B [90 R [2.3 F [0.7 F] iDoor 6.2 F [0.9 F] iDoor 1 F] draw] saved
]>
>>>