Commit Graph

18 Commits

Author SHA1 Message Date
1f581dfb43 Fixed some comments in math.go. 2019-12-21 11:40:50 +01:00
7fd85808a3 Add Round methods. 2019-07-22 19:44:00 +02:00
a024db06c0 Added DistanceTo{Line,Lines,Polygon} methods for PointF and PointF32.
Added Sq{,rt}{,32} methods.
2019-04-11 19:14:50 +02:00
afb30dc1e6 Added Sub on RectangleF{,32}.
Added Invert on PointF{,32}.
Changed formula of Center (PointF{,32}).
2019-03-06 19:24:03 +01:00
2202b4d1a8 Sorted methods in alphabetical order. 2019-03-06 19:06:08 +01:00
8ad3ad6a18 Added PointF32 implementation of some methods. 2018-11-14 10:27:03 +01:00
dd6d42a60a Added Abs{,32}. 2018-11-14 10:15:53 +01:00
45e7d0c8fd Added Max for floating point numbers. 2018-09-24 09:38:32 +02:00
060dd4380c Added {Is,}NaN{,32} methods. 2018-09-22 18:22:40 +02:00
8bcc0dff3f Added RectangleF32.
Added ZeroPtF32.
Added Center methods for rectangles.
2018-08-07 06:56:31 +02:00
ca6e592cec Added linear algebra package. 2018-07-18 20:05:34 +02:00
386eb28f11 Added Matrix3x3F32 and Vector3F32.
Added shorthand for creating a PointF32.
2018-07-18 20:05:06 +02:00
bdfa821989 Added point (PointF) subtraction. 2017-11-06 22:14:48 +01:00
20f0bf7b1f Added Inset and Add method to RectangleF 2017-11-06 20:24:19 +01:00
fd7d29064c Added zero point 2017-11-06 07:04:21 +01:00
cac351f290 Added methods to calculate width & height for RectangleF. 2017-11-01 11:24:33 +01:00
e181615d9e Fixup readme. 2017-11-01 08:01:53 +01:00
26bac636bc Initial version of the geom package
- Includes PointF, RectangleF and PolygonF. Additional it includes the 32 bit floating point PointF32 and wrappers to image.Point and image.Rectangle.
2017-11-01 06:51:41 +01:00