Versions in this module Expand all Collapse all v0 v0.0.1 Jan 12, 2019 Changes in this version + type Int26_6 int32 + func I(i int) Int26_6 + func (x Int26_6) Ceil() int + func (x Int26_6) Floor() int + func (x Int26_6) Mul(y Int26_6) Int26_6 + func (x Int26_6) Round() int + func (x Int26_6) String() string + type Int52_12 int64 + func (x Int52_12) Ceil() int + func (x Int52_12) Floor() int + func (x Int52_12) Mul(y Int52_12) Int52_12 + func (x Int52_12) Round() int + func (x Int52_12) String() string + type Point26_6 struct + X Int26_6 + Y Int26_6 + func P(x, y int) Point26_6 + func (p Point26_6) Add(q Point26_6) Point26_6 + func (p Point26_6) Div(k Int26_6) Point26_6 + func (p Point26_6) In(r Rectangle26_6) bool + func (p Point26_6) Mul(k Int26_6) Point26_6 + func (p Point26_6) Sub(q Point26_6) Point26_6 + type Point52_12 struct + X Int52_12 + Y Int52_12 + func (p Point52_12) Add(q Point52_12) Point52_12 + func (p Point52_12) Div(k Int52_12) Point52_12 + func (p Point52_12) In(r Rectangle52_12) bool + func (p Point52_12) Mul(k Int52_12) Point52_12 + func (p Point52_12) Sub(q Point52_12) Point52_12 + type Rectangle26_6 struct + Max Point26_6 + Min Point26_6 + func R(minX, minY, maxX, maxY int) Rectangle26_6 + func (r Rectangle26_6) Add(p Point26_6) Rectangle26_6 + func (r Rectangle26_6) Empty() bool + func (r Rectangle26_6) In(s Rectangle26_6) bool + func (r Rectangle26_6) Intersect(s Rectangle26_6) Rectangle26_6 + func (r Rectangle26_6) Sub(p Point26_6) Rectangle26_6 + func (r Rectangle26_6) Union(s Rectangle26_6) Rectangle26_6 + type Rectangle52_12 struct + Max Point52_12 + Min Point52_12 + func (r Rectangle52_12) Add(p Point52_12) Rectangle52_12 + func (r Rectangle52_12) Empty() bool + func (r Rectangle52_12) In(s Rectangle52_12) bool + func (r Rectangle52_12) Intersect(s Rectangle52_12) Rectangle52_12 + func (r Rectangle52_12) Sub(p Point52_12) Rectangle52_12 + func (r Rectangle52_12) Union(s Rectangle52_12) Rectangle52_12