Ben Houston
|
7c6a44ad02
cleaning up unit tests for Sphere, Box2, Box3, Plane.
|
12 years ago |
Ben Houston
|
7c501b07b9
complete Box3 unit tests, add Box2 unit tests.
|
12 years ago |
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.
|
12 years ago |
Ben Houston
|
2be1ad5bab
expand Math.min/max per @alteredq recommendations, add clampSelf per @gero3
|
12 years ago |
Ben Houston
|
5f59209338
get rid of excessive method calls (and if's) based on @gero3 's suggestion.
|
12 years ago |
Ben Houston
|
67fdeb97b9
avoid garbage collector as all costs per @gero3
|
12 years ago |
Ben Houston
|
f7991d8336
fix copy() methods in Box3, Plane and Sphere to actually copy objects rather than just references.
|
12 years ago |
Ben Houston
|
82517012e5
optimize Box3.setFromPoints to be as fast as previous code in Geometry.js
|
12 years ago |
Ben Houston
|
b50a1a520e
remove unnecessary comments.
|
12 years ago |
Ben Houston
|
99ed426469
bug fixes. all examples now run while using Box3, Sphere and Plane.
|
12 years ago |
Ben Houston
|
53ef1756cb
nickname consistency.
|
12 years ago |
Ben Houston
|
5c373708ee
move away from static fromXXX-style constructors to setXXX style member functions widely used in ThreeJS.
|
12 years ago |
Ben Houston
|
4f7ceca8af
change Box3, Plane and Sphere declarations from Frustum.js-style to Vector3.js-style.
|
12 years ago |
Ben Houston
|
6f4995b677
polishing Box3, Plane and Sphere.
|
12 years ago |
Ben Houston
|
cb2b5cece2
adopt Sphere.js and Box3.js in Geometry.js.
|
12 years ago |
Ben Houston
|
d7df2dca4a
minor cleanup of Box3 class + no longer modifying input parameter in clampPoint.
|
12 years ago |
Ben Houston
|
7ca6163266
Plane,Box3,Sphere improvements: static constructors, code simplficiation, optimizations. Box3 made more robust via true empty (+MAX_VALUE,-MIN_VALUE).
|
12 years ago |
Ben Houston
|
acde547ebb
proposed Vector3.minSelf, maxSelf - issue #2715
|
12 years ago |
Ben Houston
|
8821698a2d
Improvements as a result of code review by @chandlerp
|
12 years ago |
Ben Houston
|
9310c423dc
implement Box3.js and add to common.js - issue #2709
|
12 years ago |