Commit History

Author SHA1 Message Date
  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 d1cc46ffba Renamed Vector3 projectPoint() to applyProjection() as per @WestLangley suggestion in bb873d16d676ead71dfce5181a73828b5993a05f. 12 years ago
  Mr.doob bb873d16d6 Added Vector3.projectPoint() as suggested in #2921. 12 years ago
  Mr.doob 59afe1a3f0 Moved Vector3's __q1 to Vector3. Updated includes list. See #2920. 12 years ago
  WestLangley 9e87d44f0d Added Vector3.applyEuler() and Vector3.applyAxisAngle 12 years ago
  Mr.doob 24036c9b25 Added deprecated messages to avoid silent errors when using renamed methods. See #2883. 12 years ago
  Mr.doob a851b6b645 Removed debugger bits. 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
  Mr.doob 189148edf7 Some space/tabs clean up. 12 years ago
  Ben Houston dafc56fd84 use switch statements in Vector2/3/4.getComponents()/setComponents() based on it being 5-10x faster than index-to-name based on benchmark_vector3components.html 12 years ago
  Ben Houston a963e2dc38 remove lazy-conditions. 12 years ago
  Ben Houston a1ac92dbb2 Merge branch 'vector-index-accessors' into dev 12 years ago
  Ben Houston 2613df2088 inline Vector2/3/4/Quaternion.length()/lengthSq() and optimize Vector2/3/4.setLength() with unit test coverage. 12 years ago
  Ben Houston d23fc1b8cb Three.js style formatting. 12 years ago
  Ben Houston 8c519c85a6 Vector2/3/4 setComponent, getComponent accessors (more efficient this time.) 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