Ben Houston
|
ccecf0745c
adopt higher level Plane class in Raycaster instead of Vector3(vector,normal) pair.
|
12 жил өмнө |
Ben Houston
|
e10cc0d849
replace Vector3-based localOriginCopy, localDirectionCopy with Ray-based localRay
|
12 жил өмнө |
Ben Houston
|
49cdafe26e
integrate Sphere class into Raycaster
|
12 жил өмнө |
Ben Houston
|
348a3dd0b4
improvement to Ray for improved Raycaster integration.
|
12 жил өмнө |
Ben Houston
|
3bffda430e
add ray.transformSelf( matrix4 ) with unit test for verification.
|
12 жил өмнө |
Ben Houston
|
c60f006646
fix #2738 - bounding box is calculated incorrect if there is only one position vector.
|
12 жил өмнө |
Ben Houston
|
d782e3a17e
adopt Box3 in BufferGeometry.
|
12 жил өмнө |
Ben Houston
|
70a5576061
Rename variable ray -> raycaster in examples to reflect class name change.
|
12 жил өмнө |
Ben Houston
|
b83d79b759
remove GC from Ray.distanceToPoint
|
12 жил өмнө |
Ben Houston
|
a37615f546
adopt Ray in Raycaster in a way that doesn't change API of Raycaster
|
12 жил өмнө |
Ben Houston
|
f3671a9def
remove non-core and trivial geometric primitive fucntions to reduce code bulk.
|
12 жил өмнө |
Ben Houston
|
44774275c9
remove excessively long ray-box intersection code + unit tests.
|
12 жил өмнө |
Ben Houston
|
b9a98dd689
add some unit tests for Ray-Sphere intersection testing.
|
12 жил өмнө |
Ben Houston
|
1e52836e47
add slow but correct intersectBox with unit tests.
|
12 жил өмнө |
Ben Houston
|
8140a99ad2
remove console log output.
|
12 жил өмнө |
Ben Houston
|
328f5422be
simplify Ray constructor based on @mrdoob's feedback here: https://github.com/mrdoob/three.js/pull/2734#commitcomment-2244506
|
12 жил өмнө |
Ben Houston
|
58bbf74cb8
all Ray unit tests pass.
|
12 жил өмнө |
Ben Houston
|
dd58a87142
finished scope of Ray unit tests, now I just need to make them work.
|
12 жил өмнө |
Ben Houston
|
e921f46141
Ray unit tests.
|
12 жил өмнө |
Ben Houston
|
e6f509baf6
rename Ray -> Raycaster, Ray3 -> Ray per @mrdoob (see #2729)
|
12 жил өмнө |
Ben Houston
|
d821397c16
fixed #2728, Moved geometry primitives out of src/core into src/math. src/core is now exclusive scene primitives.
|
12 жил өмнө |
Ben Houston
|
970ee2bf95
Merge branch 'dev' into ray3
|
12 жил өмнө |
Mr.doob
|
64ef7d7045
Updated builds.
|
12 жил өмнө |
Mr.doob
|
c1f9ef832e
Replaced THREE.UV with THREE.Vector2.
|
12 жил өмнө |
Mr.doob
|
2867e6e77d
Updated builds.
|
12 жил өмнө |
Ben Houston
|
c8d990f491
add recastSelf and document that I am unsure of the best way to handle failure cases.
|
12 жил өмнө |
Ben Houston
|
db1e452efa
initial implementation of Ray3.
|
12 жил өмнө |
Ben Houston
|
78cf677506
all unit tests pass.
|
12 жил өмнө |
Ben Houston
|
0b4bdc7c19
only 6 unit tests failing, all related to box.isIntersection.
|
12 жил өмнө |
Ben Houston
|
c70714deb8
many more unit tests passing, still ~30 failing.
|
12 жил өмнө |