TomyLobo
4c496bfaac
Added constants to Vector2D, BlockVector and BlockVector2D and made the ones in Vector final.
2013-08-06 11:50:38 -04:00
TomyLobo
b710f919d5
Added static ZERO, UNIT_X, UNIT_Y, UNIT_Z, and ONE fields to Vector.
2013-08-04 10:12:15 +02:00
TomyLobo
06ed8ecf97
Made Vector implement Comparable<Vector> instead of Comparable<BlockVector>. Oops
2012-06-07 12:18:22 +02:00
TomyLobo
e69ad4d08f
Made Vector Comparable.
2012-06-06 15:54:44 +02:00
aumgn
0346228310
Add positive() to Vector and Vector2D
2012-03-15 08:29:27 +01:00
TomyLobo
8aa65fd7f4
License block changes
...
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
TomyLobo
4890c1ef9c
Optimized Vector[2D].containedWithin and Vector.equals slightly.
2012-01-08 16:30:43 +01:00
TomyLobo
99b0345ca6
Fixed a javadoc in Vector.java.
2012-01-08 16:30:43 +01:00
TomyLobo
e1428602af
Fixed Vector.cross and optimized the Vector tests slightly.
2012-01-08 03:21:35 +01:00
TomyLobo
450feb6630
Added Vector.isCollinearWith(Vector other).
...
Also added a test for it.
2012-01-05 21:27:17 +01:00
TomyLobo
e4d3f70594
Vector changes.
...
- Clarified some javadocs
- Optimized toBlockPoint and made it return a BlockVector instead of a Vector.
- Changed some whitespace
2012-01-05 16:08:53 +01:00
TomyLobo
8c68cdf4a8
Fixed Vector[2D].transform2D not using the aboutX/Z arguments properly.
2012-01-05 15:57:54 +01:00
TomyLobo
a7530b7f89
Added Vector.getMidpoint
2012-01-05 15:35:06 +01:00
TomyLobo
c099ae5eb5
Added floor, ceil and round to Vector and Vector2D.
2012-01-03 03:54:01 +01:00
TomyLobo
9ddbcf0395
Improved Vector.getMinimum and Vector.getMaximum.
2012-01-03 01:13:09 +01:00
TomyLobo
6bbf167cb4
Moved Vector.dot further up in the file and added Vector.cross.
2012-01-03 01:06:15 +01:00
TomyLobo
4500f93a1b
Fixed Vector.containedWithinBlock(min, max) and Vector2D.equals(Vector2D)
2012-01-03 00:58:00 +01:00
TomyLobo
f11415f451
Added Vector.toVector2D and Vector2D.toVector.
2012-01-03 00:41:25 +01:00
TomyLobo
48f529bc7a
Added Vector.lengthSq()
2011-12-27 23:25:37 +01:00
TomyLobo
a5a761a126
Added Vector.dot(Vector).
2011-12-05 23:23:51 +01:00
TomyLobo
7e13b60a51
Cleanup
2011-11-23 04:48:40 +01:00
TomyLobo
50009cc855
Improved hashCode implementations for the Vector classes.
...
Block[World]Vector was ignoring changes of y < 128 (i.e. all of them) and changes of x < 8192.
2011-09-25 04:56:54 +02:00
Wizjany
f90e47da9a
Removed trailing whitespaces.
2011-09-24 15:32:03 -04:00
Wizjany
b5b55a2775
Cleanup and a few bugfixes
2011-09-24 15:24:10 -04:00
Jacob Scott
66dcc99809
fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count
2011-07-15 02:00:48 -05:00
sk89q
582b98dad0
More file moving.
2011-05-01 01:30:33 -07:00