Mr.doob
|
dd15cd2ed6
Completing .reflect() change. Thanks @WestLangley.
|
11 ani în urmă |
Drew Noakes
|
e4a451a8a0
Improved implementation and unit test for Vector3.angleTo to account for numerical problems outside of full [-1,1] range.
|
12 ani în urmă |
Drew Noakes
|
791a11ddb9
Fixed bug in test.
|
12 ani în urmă |
Drew Noakes
|
55242bab09
Fixed bug in Vector3.angleTo where NaN was being returned instead of zero. Added corresponding unit test.
|
12 ani în urmă |
Ben Houston
|
ba1a28489c
remove Vector3.projectOnUnit, add Vector3.projectOnPlane (equivalent to previously removed orthoTo).
|
12 ani în urmă |
Ben Houston
|
e46d955358
Vector3.projectOn -> projectOnUnit, added projectOnVector.
|
12 ani în urmă |
Ben Houston
|
5c3775465b
Vector3.projectOn/reflect: normal arg to unitNormal. Removed Vector3.orthoTo
|
12 ani în urmă |
Ben Houston
|
ace4d4b31d
Vector3: project->projectOn, ortho->orthoTo per @WestLangley
|
12 ani în urmă |
Ben Houston
|
f4e081c9e8
add Vector3.project, Vector3.ortho and Vector3.reflect based on request by #3009
|
12 ani în urmă |
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 ani în urmă |
Ben Houston
|
a1ac92dbb2
Merge branch 'vector-index-accessors' into dev
|
12 ani în urmă |
Ben Houston
|
2613df2088
inline Vector2/3/4/Quaternion.length()/lengthSq() and optimize Vector2/3/4.setLength() with unit test coverage.
|
12 ani în urmă |
Ben Houston
|
8c519c85a6
Vector2/3/4 setComponent, getComponent accessors (more efficient this time.)
|
12 ani în urmă |
Ben Houston
|
b0497080ef
Start of benchmarking framework for ThreeJS.
|
12 ani în urmă |