Daniel Hritzkiv
|
8d3f1ce652
Prefer one-line constructor+copy in clone methods
|
10 жил өмнө |
Daniel Hritzkiv
|
ba65769db7
Updated clone + copy methods; rearranged methods; fix CubeTexture's clone method
|
10 жил өмнө |
gero3
|
923256459e
fixed files to codestyle
|
10 жил өмнө |
dubejf
|
324cfb9dc6
Fix typos
|
10 жил өмнө |
Fabian Lange
|
dad328077d
use strict (in)equalities
|
10 жил өмнө |
Joshua Koo
|
aafd29c50a
Code transforming mrdoob style second attempt See #4806
|
11 жил өмнө |
jotinha
|
d403e841ca
moved ray triangle intersection to ray
|
12 жил өмнө |
stephomi
|
15ac1a6f4e
Rename intersectionRay + add it in Triangle.prototype.
|
12 жил өмнө |
stephomi
|
62122822ec
Normalize ray when transforming it + intersection RayTriangle.
|
12 жил өмнө |
Mr.doob
|
cc57273cf4
Reverting to Object.prototype = { pattern. Only using it on the methods that really need it.
|
12 жил өмнө |
Mr.doob
|
f60212b5b0
Removed re-asigning of constructors.
|
12 жил өмнө |
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 жил өмнө |
Ben Houston
|
ceb6671c2f
initial adoption of closures in the math library. all unit tests pass.
|
12 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Ben Houston
|
587672690e
move credit for barycoord function from Raycaster to Triangle per @mrdoob.
|
12 жил өмнө |
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 жил өмнө |
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 жил өмнө |