Historique des commits

Auteur SHA1 Message Date
  WestLangley 616952a3c7 Added closure to Ray.distanceSqToSegment() il y a 10 ans
  Joshua Koo aafd29c50a Code transforming mrdoob style second attempt See #4806 il y a 11 ans
  erichlof 2ee0e0c776 added handling for when ray origin is inside sphere il y a 11 ans
  erichlof 1d1279b9b2 whitespace il y a 11 ans
  erichlof 2739a972f7 Make intersectSphere method closure, and always return point in front of ray il y a 11 ans
  erichlof a9a95eb453 Added method Ray.intersectSphere(sphere) il y a 11 ans
  Mr.doob c3636849cf Code clean up. il y a 12 ans
  jotinha d403e841ca moved ray triangle intersection to ray il y a 12 ans
  jotinha 64890729f7 better check for NaN il y a 12 ans
  jotinha bf41b8c000 fixed indentation il y a 12 ans
  jotinha a518807e49 Raycaster checks for bounding box intersection il y a 12 ans
  stephomi 62122822ec Normalize ray when transforming it + intersection RayTriangle. il y a 12 ans
  stephomi 000ae09e45 Use the optionalTarget for Ray.closestPointToPoint. il y a 12 ans
  stephomi bbe05b69f5 Rename distanceToSegment to distanceSqToSegment. il y a 12 ans
  Mr.doob d30c3703c8 Code clean up and now using inv* pattern. il y a 12 ans
  stephomi 1f7cc3d7f8 The ray is now used as a ray instead as a line. il y a 12 ans
  stephomi f58e144d9e Rename and fix the function that computes the ray-line intersection il y a 12 ans
  Mr.doob 6e96b2418a Code clean up. il y a 12 ans
  Stéphane f713c12885 A ray can now compute its minimal distance to a segment il y a 12 ans
  Mr.doob cc57273cf4 Reverting to Object.prototype = { pattern. Only using it on the methods that really need it. il y a 12 ans
  Ben Houston 1f4f7e1a79 (Box3|Line3|Plane|Ray|Sphere).transform() -> applyMatrix4() for consistency. il y a 12 ans
  Mr.doob f60212b5b0 Removed re-asigning of constructors. il y a 12 ans
  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. il y a 12 ans
  Ben Houston ceb6671c2f initial adoption of closures in the math library. all unit tests pass. il y a 12 ans
  Mr.doob 39763ab7d0 Changed back some .projectPoint() to .applyMatrix4() as per bb873d16d676ead71dfce5181a73828b5993a05f. il y a 12 ans
  Mr.doob bb873d16d6 Added Vector3.projectPoint() as suggested in #2921. il y a 12 ans
  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 il y a 12 ans
  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. il y a 12 ans
  Mr.doob 081a1fd646 Renamed .multiplyMatrix* to .applyMatrix* and .multiplyQuaternion to .applyQuaternion as suggested by @WestLangley in #2860. il y a 12 ans
  Mr.doob 127c0f2400 matrix.multiplyVector3 to vector.multiplyMatrix4 as suggested in #2860. il y a 12 ans