Mr.doob
|
39763ab7d0
Changed back some .projectPoint() to .applyMatrix4() as per bb873d16d676ead71dfce5181a73828b5993a05f.
|
vor 12 Jahren |
Mr.doob
|
bb873d16d6
Added Vector3.projectPoint() as suggested in #2921.
|
vor 12 Jahren |
Mr.doob
|
8b6dd1a479
Plane: Removed normalize() from setFromNormalAndCoplanarPoint and added it back to setFromCoplanarPoints. As suggested in 5c6b5746592e61054d8d50a7bcf905f3c5fff15c.
|
vor 12 Jahren |
Mr.doob
|
5c6b574659
Removed unnecesary normalize() in Plane.setFromCoplanarPoints. Closes #2926.
|
vor 12 Jahren |
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
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Ben Houston
|
800d0f8e87
rename Plane.flip() -> Plane.negate() per @mrdoob
|
vor 12 Jahren |
Ben Houston
|
427a7b3ecd
Merge branch 'dev' of git://github.com/mrdoob/three.js.git into frustum-additions
|
vor 12 Jahren |
Mr.doob
|
081a1fd646
Renamed .multiplyMatrix* to .applyMatrix* and .multiplyQuaternion to .applyQuaternion as suggested by @WestLangley in #2860.
|
vor 12 Jahren |
Mr.doob
|
127c0f2400
matrix.multiplyVector3 to vector.multiplyMatrix4 as suggested in #2860.
|
vor 12 Jahren |
Ben Houston
|
9d7a120b82
more Frustum unit tests + minor optimization to Plane.
|
vor 12 Jahren |
Ben Houston
|
911146dba1
add Plane.flip() plus unit test.
|
vor 12 Jahren |
Ben Houston
|
3595365f6b
add Plane.intersectLine with unit tests.
|
vor 12 Jahren |
Ben Houston
|
79e173ed55
complete Plane unit tests. fix bugs with Plane.translate and Plane.transform.
|
vor 12 Jahren |
Ben Houston
|
9cb6edf697
add Plane.transform + Sphere.transform, no tests yet.
|
vor 12 Jahren |
Mr.doob
|
8b97c343ba
Simplified Plane constructor.
|
vor 12 Jahren |
Ben Houston
|
14ad378826
All unit tests pass now for Box2, Box3 and Triangle3. Fix bug in Plane.js caught in Triangle3 unit tests. Replace Raycaster.pointInFace3 with Triangle3.containsPoint, no loss of FPS in examples.
|
vor 12 Jahren |
Ben Houston
|
c5d38e8993
add Triangle3, add optionalTargets to Box2,Box3,Plane,Sphere,Ray where possible to reduce GC load, add Triangle3 unit tests.
|
vor 12 Jahren |
Ben Houston
|
f3671a9def
remove non-core and trivial geometric primitive fucntions to reduce code bulk.
|
vor 12 Jahren |
Ben Houston
|
d821397c16
fixed #2728, Moved geometry primitives out of src/core into src/math. src/core is now exclusive scene primitives.
|
vor 12 Jahren |