Revīziju vēsture

Autors SHA1 Ziņojums Datums
  WestLangley b32a411446 added Vector3.getColumnX, etc. 12 gadi atpakaļ
  Mr.doob e5b4c9be65 Minor clean up. 12 gadi atpakaļ
  Drew Noakes 52aeb2e270 Using THREE.Math.clamp instead of locally defined version. 12 gadi atpakaļ
  Drew Noakes e4a451a8a0 Improved implementation and unit test for Vector3.angleTo to account for numerical problems outside of full [-1,1] range. 12 gadi atpakaļ
  Drew Noakes 55242bab09 Fixed bug in Vector3.angleTo where NaN was being returned instead of zero. Added corresponding unit test. 12 gadi atpakaļ
  Ben Houston ba1a28489c remove Vector3.projectOnUnit, add Vector3.projectOnPlane (equivalent to previously removed orthoTo). 12 gadi atpakaļ
  Ben Houston e46d955358 Vector3.projectOn -> projectOnUnit, added projectOnVector. 12 gadi atpakaļ
  Ben Houston 5c3775465b Vector3.projectOn/reflect: normal arg to unitNormal. Removed Vector3.orthoTo 12 gadi atpakaļ
  Ben Houston ace4d4b31d Vector3: project->projectOn, ortho->orthoTo per @WestLangley 12 gadi atpakaļ
  Ben Houston d2ebe85c0b rename cosTheta variable in Vector3.project per @WestLangley 12 gadi atpakaļ
  Ben Houston f864ba1fd3 optimize Vector3.reflect, unit tests still pass. 12 gadi atpakaļ
  Ben Houston f4e081c9e8 add Vector3.project, Vector3.ortho and Vector3.reflect based on request by #3009 12 gadi atpakaļ
  Mr.doob 9eaf84a50f Added Vector*.toArray(). Implemented in SceneExporter2. 12 gadi atpakaļ
  Mr.doob e314cb059d Changed some of the matrix.getPosition() to vector.getPositionFromMatrix( matrix ). See #2967. 12 gadi atpakaļ
  WestLangley e998138a39 Added Matrix3.getNormalMatrix( m ) and Vector3.transformDirection( m ) 12 gadi atpakaļ
  Mr.doob f60212b5b0 Removed re-asigning of constructors. 12 gadi atpakaļ
  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 gadi atpakaļ
  Ben Houston ceb6671c2f initial adoption of closures in the math library. all unit tests pass. 12 gadi atpakaļ
  Mr.doob d1cc46ffba Renamed Vector3 projectPoint() to applyProjection() as per @WestLangley suggestion in bb873d16d676ead71dfce5181a73828b5993a05f. 12 gadi atpakaļ
  Mr.doob bb873d16d6 Added Vector3.projectPoint() as suggested in #2921. 12 gadi atpakaļ
  Mr.doob 59afe1a3f0 Moved Vector3's __q1 to Vector3. Updated includes list. See #2920. 12 gadi atpakaļ
  WestLangley 9e87d44f0d Added Vector3.applyEuler() and Vector3.applyAxisAngle 12 gadi atpakaļ
  Mr.doob 24036c9b25 Added deprecated messages to avoid silent errors when using renamed methods. See #2883. 12 gadi atpakaļ
  Mr.doob a851b6b645 Removed debugger bits. 12 gadi atpakaļ
  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 gadi atpakaļ
  Mr.doob 081a1fd646 Renamed .multiplyMatrix* to .applyMatrix* and .multiplyQuaternion to .applyQuaternion as suggested by @WestLangley in #2860. 12 gadi atpakaļ
  Mr.doob 127c0f2400 matrix.multiplyVector3 to vector.multiplyMatrix4 as suggested in #2860. 12 gadi atpakaļ
  Mr.doob 189148edf7 Some space/tabs clean up. 12 gadi atpakaļ
  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 gadi atpakaļ
  Ben Houston a963e2dc38 remove lazy-conditions. 12 gadi atpakaļ