-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: projection operator * fix: ensure other types are handled right * fix: projections need to handle sqrt(3) in any direction * docs: better help string * fix: ensure no off-by-one error and use vector<bool> * wip: trying to reduce the area of the projection * fix: ensure that for normal=0,0,1, an xy plane is correcly rendered Previously, at least one axis was reflected. * fix: warning on Bbox2d print statement * fix: cutout and fortran orientation of array * fix: change basis calculation to produce XY plane in std orientation Previously was reflecting the X axis when given a positive z normal. * redesign: change order of stack for easier debugging * fix: only modify bbox if valid coordinate * redesign: change name of projection to slice * fix: use rational appx of sqrt(3) for reliable behavior floating point multiplication could be interpreted differently on various compilers, architectures * fix: use a more accurate rational approximation * docs: show how to use new slice operator * fix: replace sqrt(3) with rational appx in another location * test: add the most basic test of the slice operator * perf: remove diagnonal moves Not necessary to explore in an 8-connected fashion since 4 will fully flood fill the plane since there are no obstacles.
- Loading branch information
1 parent
3a674a5
commit 3c99b94
Showing
5 changed files
with
265 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters