Commit Graph

26 Commits

Author SHA1 Message Date
4df2655b53 Added point conversion methods (from integer to float). 2019-12-23 13:53:10 +01:00
65e3a80e84 Added primes package. 2019-12-21 13:44:19 +01:00
73c6048f09 Added more methods to the ints package.
- Added some statistical (related to summing and countings digits) and math methods (related to powers and square roots).
2019-12-21 13:01:47 +01:00
f6bf5ba60d Added helper methods for big ints. 2019-12-21 12:53:57 +01:00
39cef02092 Added statistical method to ints package. 2019-12-21 12:49:14 +01:00
fc18ea9ce8 Moved integer related methods to separate package. 2019-12-21 12:48:57 +01:00
40abdf0439 Point is now its own struct.
- Removed dependency on image package.
Added more methods to manipulate point.
2019-12-21 11:42:01 +01:00
3d416ec281 Added methods to manipulate ints.
- Conversions and basic math.
2019-12-21 11:41:27 +01:00
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