Commit History

Author SHA1 Message Date
  Ben Houston c5d38e8993 add Triangle3, add optionalTargets to Box2,Box3,Plane,Sphere,Ray where possible to reduce GC load, add Triangle3 unit tests. 12 years ago
  Ben Houston 97d43cd4cd adopt Sphere class as geometry.boundingSphere in extras. 12 years ago
  Ben Houston b11e805560 add degreesToRadians / radiansToDegrees to Math. 12 years ago
  Ben Houston ff62058fe4 clean up formatting per ThreeJS style. 12 years ago
  Ben Houston ea832104ac Raycaster improvements: ensure input ray is normalized, move up quick distance/near-far testing, unnest logic in Raycaster and centralize the addition of hits to the list of intersects. 12 years ago
  Ben Houston 55e4384cc3 simplify branching logic in Raycaster and only calculate planeSign if required. 12 years ago
  Ben Houston c027f3f286 mention another possible optimization of Raycaster if input ray is normalized 12 years ago
  Ben Houston ccecf0745c adopt higher level Plane class in Raycaster instead of Vector3(vector,normal) pair. 12 years ago
  Ben Houston e10cc0d849 replace Vector3-based localOriginCopy, localDirectionCopy with Ray-based localRay 12 years ago
  Ben Houston 49cdafe26e integrate Sphere class into Raycaster 12 years ago
  Ben Houston 348a3dd0b4 improvement to Ray for improved Raycaster integration. 12 years ago
  Ben Houston 3bffda430e add ray.transformSelf( matrix4 ) with unit test for verification. 12 years ago
  Ben Houston c60f006646 fix #2738 - bounding box is calculated incorrect if there is only one position vector. 12 years ago
  Ben Houston d782e3a17e adopt Box3 in BufferGeometry. 12 years ago
  Ben Houston 70a5576061 Rename variable ray -> raycaster in examples to reflect class name change. 12 years ago
  Ben Houston b83d79b759 remove GC from Ray.distanceToPoint 12 years ago
  Ben Houston a37615f546 adopt Ray in Raycaster in a way that doesn't change API of Raycaster 12 years ago
  Ben Houston f3671a9def remove non-core and trivial geometric primitive fucntions to reduce code bulk. 12 years ago
  Ben Houston 44774275c9 remove excessively long ray-box intersection code + unit tests. 12 years ago
  Ben Houston b9a98dd689 add some unit tests for Ray-Sphere intersection testing. 12 years ago
  Ben Houston 1e52836e47 add slow but correct intersectBox with unit tests. 12 years ago
  Ben Houston 8140a99ad2 remove console log output. 12 years ago
  Ben Houston 328f5422be simplify Ray constructor based on @mrdoob's feedback here: https://github.com/mrdoob/three.js/pull/2734#commitcomment-2244506 12 years ago
  Ben Houston 58bbf74cb8 all Ray unit tests pass. 12 years ago
  Ben Houston dd58a87142 finished scope of Ray unit tests, now I just need to make them work. 12 years ago
  Ben Houston e921f46141 Ray unit tests. 12 years ago
  Ben Houston e6f509baf6 rename Ray -> Raycaster, Ray3 -> Ray per @mrdoob (see #2729) 12 years ago
  Ben Houston d821397c16 fixed #2728, Moved geometry primitives out of src/core into src/math. src/core is now exclusive scene primitives. 12 years ago
  Ben Houston 970ee2bf95 Merge branch 'dev' into ray3 12 years ago
  Mr.doob 64ef7d7045 Updated builds. 12 years ago