Ben Houston
|
036147e203
geometry/object.clips -> geometry/object.animation
|
10 years ago |
Daniel Hritzkiv
|
8d3f1ce652
Prefer one-line constructor+copy in clone methods
|
10 years ago |
Daniel Hritzkiv
|
ba65769db7
Updated clone + copy methods; rearranged methods; fix CubeTexture's clone method
|
10 years ago |
Fabian Lange
|
dad328077d
use strict (in)equalities
|
10 years ago |
Joshua Koo
|
aafd29c50a
Code transforming mrdoob style second attempt See #4806
|
11 years ago |
Greg Tatum
|
be9fa04f0e
Made changes per WestLangley
|
11 years ago |
Greg Tatum
|
49fa467533
Suggested memory tweak for Plane.applyMatrix4
|
11 years ago |
Mr.doob
|
51d597416f
Using Matrix3.getNormalMatrix. See #3220.
|
12 years ago |
Mr.doob
|
cc57273cf4
Reverting to Object.prototype = { pattern. Only using it on the methods that really need it.
|
12 years ago |
Ben Houston
|
1f4f7e1a79
(Box3|Line3|Plane|Ray|Sphere).transform() -> applyMatrix4() for consistency.
|
12 years ago |
Ben Houston
|
3c5986bf79
incorporate Line3 into Plane.
|
12 years ago |
Mr.doob
|
f60212b5b0
Removed re-asigning of constructors.
|
12 years ago |
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
|
39763ab7d0
Changed back some .projectPoint() to .applyMatrix4() as per bb873d16d676ead71dfce5181a73828b5993a05f.
|
12 years ago |
Mr.doob
|
bb873d16d6
Added Vector3.projectPoint() as suggested in #2921.
|
12 years ago |
Mr.doob
|
8b6dd1a479
Plane: Removed normalize() from setFromNormalAndCoplanarPoint and added it back to setFromCoplanarPoints. As suggested in 5c6b5746592e61054d8d50a7bcf905f3c5fff15c.
|
12 years ago |
Mr.doob
|
5c6b574659
Removed unnecesary normalize() in Plane.setFromCoplanarPoints. Closes #2926.
|
12 years ago |
Ben Houston
|
adaa3d042f
update math constructors to not copy when provided explicit initial values per @mrdoob: https://github.com/mrdoob/three.js/pull/2902#issuecomment-11999928
|
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 |
Ben Houston
|
800d0f8e87
rename Plane.flip() -> Plane.negate() per @mrdoob
|
12 years ago |
Ben Houston
|
427a7b3ecd
Merge branch 'dev' of git://github.com/mrdoob/three.js.git into frustum-additions
|
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 |
Ben Houston
|
9d7a120b82
more Frustum unit tests + minor optimization to Plane.
|
12 years ago |
Ben Houston
|
911146dba1
add Plane.flip() plus unit test.
|
12 years ago |
Ben Houston
|
3595365f6b
add Plane.intersectLine with unit tests.
|
12 years ago |
Ben Houston
|
79e173ed55
complete Plane unit tests. fix bugs with Plane.translate and Plane.transform.
|
12 years ago |
Ben Houston
|
9cb6edf697
add Plane.transform + Sphere.transform, no tests yet.
|
12 years ago |
Mr.doob
|
8b97c343ba
Simplified Plane constructor.
|
12 years ago |