Commit message (Expand) | Author | Age | Files | Lines | |||
---|---|---|---|---|---|---|---|
* | ranger.1: added S key to man page | hut | 2010-04-16 | 1 | -0/+3 | ||
* | Fixed suggested cd-after-exit-script for zsh | hut | 2010-04-13 | 1 | -1/+1 | ||
* | added doc/print_keys.py | hut | 2010-04-08 | 1 | -0/+14 | ||
* | corrected documentation | hut | 2010-04-06 | 1 | -1/+1 | ||
* | Improved tabs | hut | 2010-04-06 | 1 | -0/+3 | ||
* | updated keybindings and documentation | hut | 2010-04-06 | 1 | -1/+21 | ||
* | ranger.1: update | hut | import types/vector
type
Line* = object
p0*: Vector2D
p1*: Vector2D
LineSegment* = object
line: Line
miny*: float64
maxy*: float64
minyx*: float64
islope*: float64
func minx*(line: Line): float64 =
return min(line.p0.x, line.p1.x)
func maxx*(line: Line): float64 =
return max(line.p0.x, line.p1.x)
func minyx*(line: Line): float64 =
if line.p0.y < line.p1.y:
return line.p0.x
return line.p1.x
func maxyx*(line: Line): float64 =
if line.p0.y > line.p1.y:
return line.p0.x
return line.p1.x
func miny | hut | 2010-01-01 | 3 | -35/+2 |
* | cleanups | hut | 2009-12-31 | 1 | -1/+5 | ||
* | rename filelist(container) to browsercolumn/browserview | hut | 2009-12-31 | 3 | -38/+76 | ||
* | updated uml project | hut | 2009-12-30 | 5 | -73/+215 | ||
* | shorten comment in ranger.py | hut | 2009-12-26 | 1 | -0/+4 | ||
* | moved /uml to /doc/uml | hut | 2009-12-25 | 14 | -0/+2180 | ||
* | Explained cd-after-exit feature | hut | 2009-12-25 | 1 | -0/+132 | ||
* | moved pydoc pages to doc/pydoc | hut | 2009-12-25 | 65 | -0/+0 | ||
* | updated pydoc pages | hut | 2009-12-25 | 65 | -0/+10505 |