diff options
| author | Julie Lala <jules@okfoc.us> | 2014-07-25 02:36:49 -0400 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-07-25 02:36:49 -0400 |
| commit | 4388c9ce2ae680862adb8abaf9d5b34088591a81 (patch) | |
| tree | 72c82cb4a114f57672600f5d512ab393847eb496 /test/04-test-builder.js | |
| parent | 6d56a504fc11bdb42dab960c08281059a4cc63d5 (diff) | |
document crossed half-wall gotcha
Diffstat (limited to 'test/04-test-builder.js')
| -rw-r--r-- | test/04-test-builder.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/04-test-builder.js b/test/04-test-builder.js index 021ed8c..fa624f8 100644 --- a/test/04-test-builder.js +++ b/test/04-test-builder.js @@ -247,10 +247,14 @@ describe('builder', function(){ }) }) - - - // Rooms.add_with_rect( corner ) - // Rooms.add_with_rect( peninsula ) + // TODO ... test half-wall generation on rooms intersecting each other crossways: + // right now this generates extra half-walls from cross on the box side of bulge + // this could be fixed by cropping regions during the cull stage? +/* + var box = new Rect( new vec(1,6), new vec(1,5) ) + var bulge = new Rect( new vec(2,5), new vec(4,6) ) + var cross = new Rect( new vec(3,4), new vec(3,7) ) +*/ }) |
