Ben Houston
|
7c6a44ad02
cleaning up unit tests for Sphere, Box2, Box3, Plane.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
786207d0fe
main test page should be index.html
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
09348f59bc
unit tests should not use minimized version of three.js to help in debugging.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
2e89cf6d3b
pull out test suite constants into their own script.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
fe2020a8a0
add initial Sphere unit tests.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
7c097f8373
initial Plane unit tests. problems with higher scope variables being utilized between modules.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
7c501b07b9
complete Box3 unit tests, add Box2 unit tests.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
de1a1de6b7
focus tests.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
be29d9f64d
add equals, clone to Box2, Box3, Plane and Sphere. Adopt +Inf/-Inf in Box2 and Box3 per @mrdoob'd recommendation. Begin Box3 unit test.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
b6d618099b
Vector2: setX, setY, Vector4: setX, setY, setZ, equals. Unit tests for Vector2, Vector3 and Vector4.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
9c175c1e4b
qunit test framework + Vector2 tests (still incomplete.)
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
2be1ad5bab
expand Math.min/max per @alteredq recommendations, add clampSelf per @gero3
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
977c0b5fb4
more changes based on @gero3's feedback. (also removed new Number() in clones)
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
ae3164787e
ensure result is a new object (feedback from @gero3)
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
5d70541b3d
incorporated more feedback from @gero3.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
c4072ef9db
apply @gero3 's suggestion to Box2.clampPoint() as well.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
5f59209338
get rid of excessive method calls (and if's) based on @gero3 's suggestion.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
67fdeb97b9
avoid garbage collector as all costs per @gero3
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
b5786bbe06
add Box2 based on Box3 paradigm.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
f7991d8336
fix copy() methods in Box3, Plane and Sphere to actually copy objects rather than just references.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
82517012e5
optimize Box3.setFromPoints to be as fast as previous code in Geometry.js
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
b50a1a520e
remove unnecessary comments.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
99ed426469
bug fixes. all examples now run while using Box3, Sphere and Plane.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
53ef1756cb
nickname consistency.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
5c373708ee
move away from static fromXXX-style constructors to setXXX style member functions widely used in ThreeJS.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
4f7ceca8af
change Box3, Plane and Sphere declarations from Frustum.js-style to Vector3.js-style.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
6f4995b677
polishing Box3, Plane and Sphere.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
cb2b5cece2
adopt Sphere.js and Box3.js in Geometry.js.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
d7df2dca4a
minor cleanup of Box3 class + no longer modifying input parameter in clampPoint.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
7ca6163266
Plane,Box3,Sphere improvements: static constructors, code simplficiation, optimizations. Box3 made more robust via true empty (+MAX_VALUE,-MIN_VALUE).
|
%!s(int64=12) %!d(string=hai) anos |