Commit Verlauf

Autor SHA1 Nachricht Datum
  Daniel Hritzkiv 8d3f1ce652 Prefer one-line constructor+copy in clone methods vor 10 Jahren
  Daniel Hritzkiv ba65769db7 Updated clone + copy methods; rearranged methods; fix CubeTexture's clone method vor 10 Jahren
  gero3 923256459e fixed files to codestyle vor 10 Jahren
  Joshua Koo aafd29c50a Code transforming mrdoob style second attempt See #4806 vor 11 Jahren
  Jan Wrobel d464040d5f Simplify Box2 and Box3 setFromPoints, add tests. vor 11 Jahren
  Greg Tatum 2dc72cd1cb Fleshed out Box3 docs. Added optionalTarget parameter to both box's .getParameter() vor 12 Jahren
  Mr.doob cc57273cf4 Reverting to Object.prototype = { pattern. Only using it on the methods that really need it. vor 13 Jahren
  Mr.doob f60212b5b0 Removed re-asigning of constructors. vor 13 Jahren
  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. vor 13 Jahren
  Ben Houston ceb6671c2f initial adoption of closures in the math library. all unit tests pass. vor 13 Jahren
  Mr.doob c8e453788d Faster Box2 and Box3 containsPoint. vor 13 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 13 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 13 Jahren
  Mr.doob 171b5e6881 Aesthetic tweaks to Box2. vor 13 Jahren
  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. vor 13 Jahren
  Mr.doob d0adb01f5e Merge remote-tracking branch 'bhouston/triangle' into dev vor 13 Jahren
  Ben Houston a48922b97c adopt @mrdoob's suggested Box2,Box3 constructor (update tests), make Triangle.normal also available as a static (easy consistent normal generation.) vor 13 Jahren
  Mr.doob 7777df425c Removed Rectangle. vor 13 Jahren
  Mr.doob 8ac873b581 Merge remote-tracking branch 'bhouston/triangle' into dev vor 13 Jahren
  Mr.doob f5c0132448 Reverted Box2.addPoint. CanvasRenderer now using Box2.setFromPoints. vor 13 Jahren
  Mr.doob 24ec04f98e Replaced Rectangle with Box2 in CanvasRenderer. Also added Box2.addPoint() vor 13 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 13 Jahren
  Ben Houston f3671a9def remove non-core and trivial geometric primitive fucntions to reduce code bulk. vor 13 Jahren
  Ben Houston d821397c16 fixed #2728, Moved geometry primitives out of src/core into src/math. src/core is now exclusive scene primitives. vor 13 Jahren