Commit History

Autor SHA1 Mensaxe Data
  Mr.doob 174ed38ff5 Code clean up. %!s(int64=12) %!d(string=hai) anos
  Tom Whittock 8375a6f421 Use clamp for clampScalar implementation %!s(int64=12) %!d(string=hai) anos
  Tom Whittock 3a58a5804c Add Vector methods clampScalar, floor, ceil, round, roundToZero %!s(int64=12) %!d(string=hai) anos
  Mr.doob d30c3703c8 Code clean up and now using inv* pattern. %!s(int64=12) %!d(string=hai) anos
  Mr.doob af203fe9dd Returning this in fromArray methods. %!s(int64=13) %!d(string=hai) anos
  Mr.doob e68aeeacaf Added fromArray() to Vector* for convenience. %!s(int64=13) %!d(string=hai) anos
  Mr.doob cc57273cf4 Reverting to Object.prototype = { pattern. Only using it on the methods that really need it. %!s(int64=13) %!d(string=hai) anos
  Mr.doob 56825c9acf Vector4: Moved around the new methods to keep the end structure like in Vector2/3. %!s(int64=13) %!d(string=hai) anos
  Mr.doob 9eaf84a50f Added Vector*.toArray(). Implemented in SceneExporter2. %!s(int64=13) %!d(string=hai) anos
  Mr.doob f60212b5b0 Removed re-asigning of constructors. %!s(int64=13) %!d(string=hai) anos
  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. %!s(int64=13) %!d(string=hai) anos
  Mr.doob 24036c9b25 Added deprecated messages to avoid silent errors when using renamed methods. See #2883. %!s(int64=13) %!d(string=hai) anos
  Mr.doob a851b6b645 Removed debugger bits. %!s(int64=13) %!d(string=hai) anos
  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. %!s(int64=13) %!d(string=hai) anos
  Mr.doob 081a1fd646 Renamed .multiplyMatrix* to .applyMatrix* and .multiplyQuaternion to .applyQuaternion as suggested by @WestLangley in #2860. %!s(int64=13) %!d(string=hai) anos
  Mr.doob 127c0f2400 matrix.multiplyVector3 to vector.multiplyMatrix4 as suggested in #2860. %!s(int64=13) %!d(string=hai) anos
  Mr.doob 67b55a6f10 More space/tabs clean up. %!s(int64=13) %!d(string=hai) anos
  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 %!s(int64=13) %!d(string=hai) anos
  Ben Houston a963e2dc38 remove lazy-conditions. %!s(int64=13) %!d(string=hai) anos
  Ben Houston a1ac92dbb2 Merge branch 'vector-index-accessors' into dev %!s(int64=13) %!d(string=hai) anos
  Ben Houston 2613df2088 inline Vector2/3/4/Quaternion.length()/lengthSq() and optimize Vector2/3/4.setLength() with unit test coverage. %!s(int64=13) %!d(string=hai) anos
  Ben Houston d23fc1b8cb Three.js style formatting. %!s(int64=13) %!d(string=hai) anos
  Ben Houston 8c519c85a6 Vector2/3/4 setComponent, getComponent accessors (more efficient this time.) %!s(int64=13) %!d(string=hai) anos
  Ben Houston d821397c16 fixed #2728, Moved geometry primitives out of src/core into src/math. src/core is now exclusive scene primitives. %!s(int64=13) %!d(string=hai) anos