Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove some newly-dead geometry code. | Neil Moore | 2014-01-09 | 1 | -2/+0 |
| | | | | | | | The {get,set}_degrees methods of ray_def were only used by the chaos bouncing code, removed in 0.14-a0-1819-g38ea213. The functions geom::degrees and geom::degree_to_vector were only used by those ray_def methods. | ||||
* | More PURE, and introduce REALLYPURE as well. | Samuel Bronson | 2013-03-24 | 1 | -5/+5 |
| | |||||
* | Adjust some whitespace and formatting. | Adam Borowski | 2011-07-08 | 1 | -1/+2 |
| | |||||
* | Fix newlines at end of file. | Adam Borowski | 2010-01-21 | 1 | -1/+0 |
| | |||||
* | Add get_degrees and set_degrees to ray_def; reenable chaos bolt munging. | Robert Vollmert | 2009-11-03 | 1 | -0/+2 |
| | |||||
* | Add geom::line constructor. | Robert Vollmert | 2009-11-03 | 1 | -0/+4 |
| | |||||
* | Make geom::parallel visible outside geom2d. | Robert Vollmert | 2009-11-03 | 1 | -0/+1 |
| | |||||
* | Simplify geom2d ray advance code. | Robert Vollmert | 2009-11-01 | 1 | -1/+1 |
| | |||||
* | Add a bunch of ASSERTs to ray.cc. | Robert Vollmert | 2009-11-01 | 1 | -0/+2 |
| | |||||
* | Some geom2d changes. | Robert Vollmert | 2009-11-01 | 1 | -2/+6 |
| | | | | | 1. Add function to reflect vector at a line. 2. Implement scalar multiplication as external operator. | ||||
* | Make nextcell and movehalfcell methods of geom::ray. | Robert Vollmert | 2009-11-01 | 1 | -2/+3 |
| | | | | | Seems sensible given they modify the ray, even if it's not really something intrinsic to a ray. | ||||
* | Change corner handling. | Robert Vollmert | 2009-11-01 | 1 | -1/+2 |
| | | | | | | | | ray_def should now deal with hitting corners gracefully, though the raycasting will still discard such rays. If a ray hits a corner between two diamonds, it will stay there, and calling ray_def::pos will arbitrarily give one of the squares -- this is not optimal, but these rays shouldn't usually show up anyway. | ||||
* | Add simple 2d geometry library. | Robert Vollmert | 2009-11-01 | 1 | -0/+84 |
Its point is to allow intersecting rays with grid lines and advancing rays from one cell to the next. |