Commit History

Author SHA1 Message Date
  Mr.doob 6e96b2418a Code clean up. 12 years ago
  jotinha 4939cc0fa8 fixed declaration of function 12 years ago
  jotinha 2665e62aae Added intersectsBox method to Frustum 12 years ago
  Mr.doob e65bec241c Removed setGeometry() and setMaterial() from Mesh. Moved the boundSphere check to Frustum and Raycasting. 12 years ago
  Mr.doob cc57273cf4 Reverting to Object.prototype = { pattern. Only using it on the methods that really need it. 12 years ago
  Mr.doob e314cb059d Changed some of the matrix.getPosition() to vector.getPositionFromMatrix( matrix ). See #2967. 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 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
  Ben Houston 9fb65f6769 Frustum bug fix: clone and constructor should be real copies. Fix bug in unit test to catch this in the future. 12 years ago
  Mr.doob 7d48298acf Renamed Sphere.isIntersectionSphere to Sphere.intersectsSphere. 12 years ago
  Ben Houston 6f72a001c2 Frustum.contains -> intersectsObject, containsSphere->intersectsSphere, removed Frustum.containsAnyPoints, .transform. Update unit tests accordingly. 12 years ago
  Ben Houston 5d6656506b remove unused variable from Frustum.js 12 years ago
  Ben Houston b358c94547 expand Frustum.contains() per @alteredq, @gero3 12 years ago
  Ben Houston af4b73c0fc fix sign/comparison in Frustum.containsSphere and add unit tests. 12 years ago
  Ben Houston c11cdb7f87 always use local var planes = this.planes in Frustum. fix common include to require Sphere before Frustum. 12 years ago
  Ben Houston 65436c41d6 polishing frustum to a first class member of math. 12 years ago
  Ben Houston 9b503c1d98 add Frustum.containsPoint, containsSphere + first Frustum unit tests. 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