Mr.doob
|
b37be63d1f
Moved Projector's .projectVector and .unprojectVector to Vector3 .projectCamera and .unprojectCamera.
|
11 years ago |
Mr.doob
|
2c4f25af3d
Vector*: Simpler negate code.
|
11 years ago |
Joshua Koo
|
aafd29c50a
Code transforming mrdoob style second attempt See #4806
|
11 years ago |
Mr.doob
|
40633c8573
Cleaned up warnings and error messages.
|
11 years ago |
Mr.doob
|
9e74321a3c
Fixed Vector3.projectOnVector.
|
11 years ago |
Mr.doob
|
a735dfe98a
Removed THREE.extend hack.
|
11 years ago |
Mr.doob
|
174ed38ff5
Code clean up.
|
11 years ago |
Mr.doob
|
9582770323
Merge branch 'vector-methods' of https://github.com/twhittock/three.js into dev
|
11 years ago |
Tom Whittock
|
8375a6f421
Use clamp for clampScalar implementation
|
11 years ago |
Tom Whittock
|
3a58a5804c
Add Vector methods clampScalar, floor, ceil, round, roundToZero
|
11 years ago |
Mr.doob
|
f5b359ced3
Implemented @WestLangley Vector3.reflect() from #4340.
|
11 years ago |
WestLangley
|
bb31515d6b
Vector3.get*FromMatrix() -> Vector3.setFromMatrix*()
|
11 years ago |
Mr.doob
|
18f27df17d
Removed another unneeded quaternion variable. As per @WestLangley suggestion in 0e9f32f1dd9ba8ff51060795d6b53101b3e7582f.
|
12 years ago |
Mr.doob
|
0e9f32f1dd
Checking if euler is instance of THREE.Euler. Fixes #3737.
|
12 years ago |
stephomi
|
bbaa398e19
Cache xyz components in crossVectors function.
|
12 years ago |
Mr.doob
|
d30c3703c8
Code clean up and now using inv* pattern.
|
12 years ago |
Mr.doob
|
6c49f3ce85
More Rotation/Euler breakage fixed.
|
12 years ago |
Ben Houston
|
1b05529254
added notices that Vector3.setEulerFromRotationMatrix/setEulerFromQuaternion have been removed. Not deprecating because the target class has changed, it isn't just a function rename.
|
12 years ago |
Ben Houston
|
a16a9f6775
complete Euler class, update examples, update Object3D, update unit tests.
|
12 years ago |
Mr.doob
|
af203fe9dd
Returning this in fromArray methods.
|
12 years ago |
Mr.doob
|
e68aeeacaf
Added fromArray() to Vector* for convenience.
|
12 years ago |
Mr.doob
|
cc57273cf4
Reverting to Object.prototype = { pattern. Only using it on the methods that really need it.
|
12 years ago |
WestLangley
|
fe2792df4a
Changed getColumnFromMatrix signature as suggested by @bhouston.
|
12 years ago |
WestLangley
|
b32a411446
added Vector3.getColumnX, etc.
|
12 years ago |
Mr.doob
|
e5b4c9be65
Minor clean up.
|
12 years ago |
Drew Noakes
|
52aeb2e270
Using THREE.Math.clamp instead of locally defined version.
|
12 years ago |
Drew Noakes
|
e4a451a8a0
Improved implementation and unit test for Vector3.angleTo to account for numerical problems outside of full [-1,1] range.
|
12 years ago |
Drew Noakes
|
55242bab09
Fixed bug in Vector3.angleTo where NaN was being returned instead of zero. Added corresponding unit test.
|
12 years ago |
Ben Houston
|
ba1a28489c
remove Vector3.projectOnUnit, add Vector3.projectOnPlane (equivalent to previously removed orthoTo).
|
12 years ago |
Ben Houston
|
e46d955358
Vector3.projectOn -> projectOnUnit, added projectOnVector.
|
12 years ago |