add a ground to labyrinth

This commit is contained in:
philippe lhardy
2018-03-04 18:53:42 +01:00
parent 4b324fc2f4
commit 8f1b6afee5
2 changed files with 11 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ public class Wall3d
public final static Wall3d West = new Wall3d(1, 10, 10, 0, 0, 0);
public final static Wall3d North = new Wall3d(10, 1, 10, 0, 10, 0);
public final static Wall3d East = new Wall3d(1, 10, 10, 10, 0, 0);
public final static Wall3d Ground = new Wall3d(10, 10, 2, 0, 0, 0);
int triangle[][][] = null;
@@ -199,8 +200,10 @@ public class Wall3d
{
stream.write(new Wall3d(East, x * xl, y * yl, 0).toString().getBytes());
}
stream.write(new Wall3d(Ground, x * xl, y * yl, 0).toString().getBytes());
}
}
stream.write("endsolid wall\n\n".getBytes());
}