Ben Houston
|
05af1b28ce
implemented Box3.transform, tested. Removed Box3/Box3.scale as it doesn't work in the general case. move tests to tests/math from tests/core to replace move of tested source files.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
a48922b97c
adopt @mrdoob's suggested Box2,Box3 constructor (update tests), make Triangle.normal also available as a static (easy consistent normal generation.)
|
%!s(int64=12) %!d(string=hai) anos |
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.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
c5d38e8993
add Triangle3, add optionalTargets to Box2,Box3,Plane,Sphere,Ray where possible to reduce GC load, add Triangle3 unit tests.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
f3671a9def
remove non-core and trivial geometric primitive fucntions to reduce code bulk.
|
%!s(int64=12) %!d(string=hai) anos |
Ben Houston
|
d821397c16
fixed #2728, Moved geometry primitives out of src/core into src/math. src/core is now exclusive scene primitives.
|
%!s(int64=12) %!d(string=hai) anos |