Commit History

Author SHA1 Message Date
  Mr.doob 976f78bb5e Ray: Fix precission issue. See #5774. 10 years ago
  Joshua Koo aafd29c50a Code transforming mrdoob style second attempt See #4806 11 years ago
  erichlof 2ee0e0c776 added handling for when ray origin is inside sphere 11 years ago
  erichlof 1d1279b9b2 whitespace 11 years ago
  erichlof 2739a972f7 Make intersectSphere method closure, and always return point in front of ray 11 years ago
  erichlof a9a95eb453 Added method Ray.intersectSphere(sphere) 11 years ago
  Mr.doob c3636849cf Code clean up. 12 years ago
  jotinha d403e841ca moved ray triangle intersection to ray 12 years ago
  jotinha 64890729f7 better check for NaN 12 years ago
  jotinha bf41b8c000 fixed indentation 12 years ago
  jotinha a518807e49 Raycaster checks for bounding box intersection 12 years ago
  stephomi 62122822ec Normalize ray when transforming it + intersection RayTriangle. 12 years ago
  stephomi 000ae09e45 Use the optionalTarget for Ray.closestPointToPoint. 12 years ago
  stephomi bbe05b69f5 Rename distanceToSegment to distanceSqToSegment. 12 years ago
  Mr.doob d30c3703c8 Code clean up and now using inv* pattern. 12 years ago
  stephomi 1f7cc3d7f8 The ray is now used as a ray instead as a line. 12 years ago
  stephomi f58e144d9e Rename and fix the function that computes the ray-line intersection 12 years ago
  Mr.doob 6e96b2418a Code clean up. 12 years ago
  Stéphane f713c12885 A ray can now compute its minimal distance to a segment 12 years ago
  Mr.doob cc57273cf4 Reverting to Object.prototype = { pattern. Only using it on the methods that really need it. 12 years ago
  Ben Houston 1f4f7e1a79 (Box3|Line3|Plane|Ray|Sphere).transform() -> applyMatrix4() for consistency. 12 years ago
  Mr.doob f60212b5b0 Removed re-asigning of constructors. 12 years ago
  Ben Houston e2df06e005 fix three missed conversions to closures. switch to extending math prototypes rather than replacing them. This is to ensure that types created in closures within a type's prototype definition get their prototype updated with the full definition. 12 years ago
  Ben Houston ceb6671c2f initial adoption of closures in the math library. all unit tests pass. 12 years ago
  Mr.doob 39763ab7d0 Changed back some .projectPoint() to .applyMatrix4() as per bb873d16d676ead71dfce5181a73828b5993a05f. 12 years ago
  Mr.doob bb873d16d6 Added Vector3.projectPoint() as suggested in #2921. 12 years ago
  Ben Houston adaa3d042f update math constructors to not copy when provided explicit initial values per @mrdoob: https://github.com/mrdoob/three.js/pull/2902#issuecomment-11999928 12 years ago
  Mr.doob b062fee866 Removed Vector* add() to addVectors() and addSelf() to add(). Same with sub, cross, min, max, lerp... Renamed Matrix* and Quaternion multiply() to multiplyMatrices(), multiplyQuaternions() and multiplySelf() to multiply(). See #2860. 12 years ago
  Mr.doob 081a1fd646 Renamed .multiplyMatrix* to .applyMatrix* and .multiplyQuaternion to .applyQuaternion as suggested by @WestLangley in #2860. 12 years ago
  Mr.doob 127c0f2400 matrix.multiplyVector3 to vector.multiplyMatrix4 as suggested in #2860. 12 years ago