Commit 5bd105b
Refactor prisms for scheme (#35)
* implement geom_fix_object for prisms (recompute centroid of polygon floor from center of geometric object); update test-prism to displace objects through random 3D vector
* updates
* refactor make_prism() to facilitate handling of prisms in scheme
* refactor prism implementation for compatibility with legacy scheme interface
* updates
* updates
* fix commented-out code
* use random sentinel for no-val
* use same NO_VAL as in scm
* use nan instead of no-val
* use nan for auto-center1 parent 8474864 commit 5bd105b
5 files changed
Lines changed: 401 additions & 291 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
154 | 162 | | |
155 | 163 | | |
156 | 164 | | |
| |||
0 commit comments