Michael Bayne
4b6229531c
[maven-release-plugin] prepare release pythagoras-1.4
2015-01-10 15:07:35 -08:00
Michael Bayne
9d65e17cbe
Reference forthcoming 1.4 release.
2015-01-10 15:06:25 -08:00
Michael Bayne
fe48dd6440
Javadoc fixes.
2015-01-10 15:05:13 -08:00
Michael Bayne
b6821cd96b
Suppress missing @param, @return doclint warnings.
2015-01-10 15:03:19 -08:00
Michael Bayne
7879c12749
Added set(AffineTransform). More return type refinement.
2014-12-30 15:58:00 -08:00
Michael Bayne
524ce3c82c
Specialize return types on copy.
2014-12-30 10:47:16 -08:00
Michael Bayne
fd4e34fb26
Merge pull request #25 from deadmoose/semicolons
...
Spurious semicolons
2014-04-04 07:15:08 -07:00
David Hoover
2cbe19a4a2
Spurious semicolons
2014-03-18 10:05:55 -07:00
Michael Bayne
3c1a50441a
Use new SBT bits.
2014-01-29 15:10:59 -08:00
Michael Bayne
a46ea711f0
Handle NaN in toString().
2013-07-26 11:07:02 -07:00
Michael Bayne
0ff90d641e
A bunch of add/substract to syncmake i.Point with f/d.Point.
...
Closes #24 .
2013-05-24 06:10:35 -07:00
Michael Bayne
d97a7a20b1
Use JDKs 6 and 7.
2013-05-22 21:15:36 -07:00
Michael Bayne
951f987839
Let's try Travis!
2013-05-22 16:48:54 -07:00
Michael Bayne
b05258d39e
Added test for (now fixed) Area bug.
2013-03-06 11:20:15 -08:00
Michael Bayne
7edef042c0
Added semi-useful toStrings.
2013-03-06 11:20:14 -08:00
Michael Bayne
25b09788e3
Fixed issues with auto-closing paths.
2013-03-06 11:20:12 -08:00
Michael Bayne
73fc54dff0
Switch to _ member names for easer code grokking.
2013-03-06 10:35:56 -08:00
Michael Bayne
fc4cf07ca3
Nixed mirrorAngleOrigin because it's not correct.
...
The correct way to mirror an angle in [-PI, PI] around the x-axis is simply to
negate it, which doesn't seem ceremonious enough to require a utility method.
2013-02-12 17:27:23 -08:00
Michael Bayne
0a388b65aa
Catch the double implementations up with the float.
2013-02-12 17:13:47 -08:00
Michael Bayne
05756aae38
We need Scala for test classes.
2013-02-12 14:25:37 -08:00
Michael Bayne
fef73ea027
Save an extra call to mirrorAngle when d == md.
2013-02-12 14:25:20 -08:00
Michael Bayne
f26a72c26f
Change new mirrorAngle to mirrorAngleOrigin, improved javadocs.
...
The old mirrorAngle mirrors around the "y-axis" (PI/2 or -PI/2 as appropriate)
which is necessary for other code (particularly angularDifference) to work
correctly. The new mirrorAngleOrigin mirrors around the "x-axis" (zero).
2013-02-12 14:24:04 -08:00
Christoph Dietze
0ffabf1419
mirrorAngle(HALF_PI) should be -HALFPI rather than HALF_PI
2013-02-12 22:10:04 +01:00
Michael Bayne
6bdeeece12
Bump to Scala 2.10.0 and SBT 0.12.2.
2013-01-29 15:51:59 -08:00
Michael Bayne
39bef738b8
Merge pull request #18 from aduros/affine-patch
...
Take shortcuts in translate() and scale().
2012-12-10 15:36:31 -08:00
Bruno Garcia
b91c17d3b9
Take shortcuts in translate() and scale().
2012-12-04 18:40:44 -08:00
Michael Bayne
8cece6137b
(From aduros) AbstractRectangle.contains should contain bounds.
...
Points on the top and left edges are considered contained, so should points on
right and bottom. This also makes contains() consistent with outcode().
2012-11-28 16:29:44 -08:00
Michael Bayne
90e0c58c84
Added MathUtil.floorDiv, and tests.
2012-11-28 13:25:44 -08:00
Michael Bayne
9c4d9bce45
Reference 1.3.2 release.
2012-11-27 15:45:34 -08:00
Michael Bayne
43fc92d6e8
[maven-release-plugin] prepare for next development iteration
2012-11-27 15:44:15 -08:00
Michael Bayne
ee6ea29ead
[maven-release-plugin] prepare release pythagoras-1.3.2
2012-11-27 15:44:07 -08:00
Michael Bayne
0f27f8f0d2
Shearing support from Mike T.
2012-10-24 15:20:54 -07:00
Michael Bayne
f1a23112a9
Added Dimensions.ZERO.
2012-10-10 13:29:06 -07:00
Michael Bayne
0fb5898c2f
[maven-release-plugin] prepare for next development iteration
2012-07-12 12:29:16 -07:00
Michael Bayne
09b137cfe5
[maven-release-plugin] prepare release pythagoras-1.3.1
2012-07-12 12:29:07 -07:00
Michael Bayne
485abe95e6
Numerous bits:
...
- nixed all transforms except identity and affine; the intermediate transforms
were more trouble than they were worth
- fixed bugs in AffineTransform.translate/scaleX/scaleY/rotate; aiya!
- replaced Transform.clone with Transform.copy; deprecated clone
- rewrote transform test in Scala and using Java AffineTransform as a
reference.
2012-07-12 12:25:06 -07:00
Michael Bayne
6d95f45603
[maven-release-plugin] prepare for next development iteration
2012-07-11 15:41:45 -07:00
Michael Bayne
9126c90700
[maven-release-plugin] prepare release pythagoras-1.3
2012-07-11 15:41:38 -07:00
Michael Bayne
50ca70a44c
Prepare for 1.3 release.
2012-07-11 15:40:21 -07:00
Michael Bayne
5acb7b1551
Use a less cracksmoking name.
2012-06-16 13:23:08 -07:00
Michael Bayne
920b55d1f9
Added a method for extracting the transform matrix.
2012-06-16 13:18:07 -07:00
Michael Bayne
278a947de1
Added a bunch of stuff at Stefan's request.
...
- Matrix3: add, addLocal, setToZero
- Matrix4: extractRotationScale, setToRotationScale, setToZero
- Vector3: abs, absLocal
- Vector4: negate, negateLocal, abs, absLocal, mult(v), multLocal(v)
2012-05-18 13:42:45 -07:00
Michael Bayne
00df755904
Added methods to get and set elements, rows, columns.
...
Also clarified the element naming scheme, which is mCOLROW.
2012-05-18 13:10:57 -07:00
Michael Bayne
6a45db8e35
Added Vector4.mult(Matrix4) and Matrix4.transform(Vector4).
2012-05-18 09:06:37 -07:00
David Hoover
a24891d535
There's 1.2 now
2012-05-11 22:38:42 -07:00
Michael Bayne
65c870a0fe
Some javadoc fixes.
2012-05-11 11:16:51 -07:00
Michael Bayne
fb74b7d2a8
[maven-release-plugin] prepare for next development iteration
2012-05-11 11:09:10 -07:00
Michael Bayne
766cd56317
[maven-release-plugin] prepare release pythagoras-1.2
2012-05-11 11:09:04 -07:00
Michael Bayne
1541c1529f
Added method to obtain a vector from two points.
...
Whatdya know, I already need it.
2012-05-11 11:03:40 -07:00
Michael Bayne
f2e7e7da88
Added XY, made IPoint.subtract return Point.
...
XY provides a common super-interface for IPoint and IVector for APIs that don't
care if you have a point or vector, and just want it's x/y coordinates.
Returning a vector when subtracting two points was clever and all, but turns
out to be annoying. More often, you're just adjusting a point and don't want to
switch to vector-baesd math. If we want an easy way to obtain a vector that is
the difference of two points we can add Vectors.subtract() or a new
constructor.
2012-05-11 10:56:39 -07:00