Histórico de commits

Autor SHA1 Mensagem Data
  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 anos atrás
  Ben Houston ceb6671c2f initial adoption of closures in the math library. all unit tests pass. 12 anos atrás
  Mr.doob 39763ab7d0 Changed back some .projectPoint() to .applyMatrix4() as per bb873d16d676ead71dfce5181a73828b5993a05f. 12 anos atrás
  Mr.doob bb873d16d6 Added Vector3.projectPoint() as suggested in #2921. 12 anos atrás
  Mr.doob c8e453788d Faster Box2 and Box3 containsPoint. 12 anos atrás
  Mr.doob 51c1c4920c CanvasRenderer+SVGRenderer: Removed 2D clipping for Face3/Face4 elements as the projector is already taking care of that. 12 anos atrás
  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 anos atrás
  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 anos atrás
  Mr.doob ef87a12c9a Cleaned up Box3. 12 anos atrás
  Mr.doob 081a1fd646 Renamed .multiplyMatrix* to .applyMatrix* and .multiplyQuaternion to .applyQuaternion as suggested by @WestLangley in #2860. 12 anos atrás
  Mr.doob 127c0f2400 matrix.multiplyVector3 to vector.multiplyMatrix4 as suggested in #2860. 12 anos atrás
  Ben Houston 8c2d2e9872 boundingSphere -> getBoundingSphere(), boundingBox -> getBoundingBox() per @mrdoob 12 anos atrás
  Ben Houston 2b4373bee2 +Box3.boundingSphere(), Sphere.bounds()->Sphere.boundingBox(), unit tests. 12 anos atrás
  Ben Houston 05af1b28ce implemented Box3.transform, tested. Removed Box3/Box3.scale as it doesn't work in the general case. move tests to tests/math from tests/core to replace move of tested source files. 12 anos atrás
  Ben Houston a48922b97c adopt @mrdoob's suggested Box2,Box3 constructor (update tests), make Triangle.normal also available as a static (easy consistent normal generation.) 12 anos atrás
  Ben Houston 14ad378826 All unit tests pass now for Box2, Box3 and Triangle3. Fix bug in Plane.js caught in Triangle3 unit tests. Replace Raycaster.pointInFace3 with Triangle3.containsPoint, no loss of FPS in examples. 12 anos atrás
  Ben Houston c5d38e8993 add Triangle3, add optionalTargets to Box2,Box3,Plane,Sphere,Ray where possible to reduce GC load, add Triangle3 unit tests. 12 anos atrás
  Ben Houston f3671a9def remove non-core and trivial geometric primitive fucntions to reduce code bulk. 12 anos atrás
  Ben Houston d821397c16 fixed #2728, Moved geometry primitives out of src/core into src/math. src/core is now exclusive scene primitives. 12 anos atrás