Tristan VALCKE
|
d5b9bc6806
Improve Triangle closure performance
|
8 years ago |
Tristan VALCKE
|
39b35d32b0
Protect Triangle against the closure circular reference bug
|
8 years ago |
Mr.doob
|
9147f32ca2
Clean up.
|
9 years ago |
Rich Harris
|
4f98d35ed7
Remove unused `is*` properties (#9381)
|
9 years ago |
Mr.doob
|
bdea7d00ce
Fixed function formatting
|
9 years ago |
Rich Harris
|
f65e669af9
Modules (#9310)
|
9 years ago |
WestLangley
|
a7ed6b10ff
Name closured functions (#9116)
|
9 years ago |
Michael Herzog
|
6e05a92bc9
Triangle: new method .closestPointToPoint
|
9 years ago |
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 |
gero3
|
923256459e
fixed files to codestyle
|
10 years ago |
dubejf
|
324cfb9dc6
Fix typos
|
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 |
jotinha
|
d403e841ca
moved ray triangle intersection to ray
|
12 years ago |
stephomi
|
15ac1a6f4e
Rename intersectionRay + add it in Triangle.prototype.
|
12 years ago |
stephomi
|
62122822ec
Normalize ray when transforming it + intersection RayTriangle.
|
12 years ago |
Mr.doob
|
cc57273cf4
Reverting to Object.prototype = { pattern. Only using it on the methods that really need it.
|
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 |
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
|
587672690e
move credit for barycoord function from Raycaster to Triangle per @mrdoob.
|
12 years ago |
Ben Houston
|
a48922b97c
adopt @mrdoob's suggested Box2,Box3 constructor (update tests), make Triangle.normal also available as a static (easy consistent normal generation.)
|
12 years ago |
Ben Houston
|
3871af55c2
Rename Triangle3.js to Triangle.js per @mrdoob's suggestion here: https://github.com/mrdoob/three.js/issues/2750#issuecomment-11063983
|
12 years ago |