- 15 3月, 2013 1 次提交
-
-
由 Mr.doob 提交于
Misteriously when using the latest version of the lib on the project I'm working on I'm getting this error: > Uncaught TypeError: Object [object Object] has no method 'set' This is caused when THREE.UniformsLib.common.diffuse initialises a THREE.Color (THREE.Color.set() seems to be undefined then). For some reason this only happens when I load Box2D before three.js. If I load it after is all good. But this fixes the problem too. /ping @bhouston
-
- 27 1月, 2013 2 次提交
- 22 1月, 2013 1 次提交
-
-
由 Mr.doob 提交于
-
- 17 1月, 2013 1 次提交
-
-
由 Ben Houston 提交于
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.
-
- 06 1月, 2013 1 次提交
-
-
由 Mr.doob 提交于
-
- 04 1月, 2013 2 次提交
-
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
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. Good thing we have a ton of examples to make sure nothing is broken. The unit tests also helped. However, I suspect I've left something unchanged.
-
- 31 12月, 2012 1 次提交
-
-
由 Mr.doob 提交于
Renamed .multiplyMatrix* to .applyMatrix* and .multiplyQuaternion to .applyQuaternion as suggested by @WestLangley in #2860.
-
- 30 12月, 2012 2 次提交
- 22 12月, 2012 1 次提交
-
-
由 Ben Houston 提交于
use switch statements in Vector2/3/4.getComponents()/setComponents() based on it being 5-10x faster than index-to-name based on benchmark_vector3components.html
-
- 21 12月, 2012 3 次提交
-
-
由 Ben Houston 提交于
-
由 Ben Houston 提交于
inline Vector2/3/4/Quaternion.length()/lengthSq() and optimize Vector2/3/4.setLength() with unit test coverage.
-
由 Ben Houston 提交于
-
- 20 12月, 2012 1 次提交
-
-
由 Ben Houston 提交于
-
- 04 12月, 2012 1 次提交
-
-
由 Ben Houston 提交于
fixed #2728, Moved geometry primitives out of src/core into src/math. src/core is now exclusive scene primitives.
-
- 03 12月, 2012 4 次提交
-
-
由 alteredq 提交于
-
由 Ben Houston 提交于
-
由 Ben Houston 提交于
Vector2: setX, setY, Vector4: setX, setY, setZ, equals. Unit tests for Vector2, Vector3 and Vector4.
-
由 Ben Houston 提交于
-
- 02 12月, 2012 1 次提交
-
-
由 Ben Houston 提交于
-
- 19 8月, 2012 1 次提交
-
-
由 Mr.doob 提交于
-
- 18 8月, 2012 1 次提交
-
-
由 apendua 提交于
-
- 23 4月, 2012 1 次提交
-
-
由 WestLangley 提交于
-
- 10 3月, 2012 1 次提交
-
-
由 Mr.doob 提交于
-
- 15 2月, 2012 1 次提交
-
-
由 alteredq 提交于
Also trying to make a bit nicer UVs for ExtrudeGeometry / TextGeometry.
-
- 21 1月, 2012 1 次提交
-
-
由 alteredq 提交于
-
- 06 10月, 2011 1 次提交
-
-
由 Mr.doob 提交于
-
- 11 9月, 2011 1 次提交
-
-
由 alteredq 提交于
-
- 27 8月, 2011 1 次提交
-
-
由 Mr.doob 提交于
Some clean up on Vector* constructors. Added UV::clone.
-
- 03 8月, 2011 2 次提交
- 27 7月, 2011 1 次提交
-
-
由 pushmatrix 提交于
-
- 01 6月, 2011 1 次提交
-
-
由 Mr.doob 提交于
-
- 31 5月, 2011 1 次提交
-
-
由 Eberhard Gräther 提交于
reworked Vector classes, no change in API, reordered methods, divide-by-zero prevention, removed use of .set() in methods for better performance
-
- 28 2月, 2011 1 次提交
-
-
由 Mr.doob 提交于
I don't remember when was the last time I used them. Current Web Developer Tools do this already for you. Color::updateRGBA ⟶ Color::updateRGB
-
- 26 2月, 2011 1 次提交
-
-
由 Mr.doob 提交于
-
- 18 2月, 2011 1 次提交
-
-
由 alteredq 提交于
- getters/setters are no more in Vector3 - object hierarchies thus don't use "isDirty" - this was completely killing performance for anything that was touching a lot of Vector3 like creation of meshes and dynamic buffers - even without this, performance of hierarchies went up (a lot) - objects do not get passed renderer anymore - camera was almost also removed, but this is useful for LOD (though there may be some cleaner way to do this?) - material ids are now unified, this makes "geometry.sortFacesByMaterial" faster (thus scene init / GUI blocking is shorter) - all WebGL examples should work now (render-to-texture has weird lights and in some camera control feels different) - CanvasRender still broken, despite many efforts :( - currently only points and lines work, faces don't show up. I think this may need assistance from mrdoob.
-
- 17 2月, 2011 1 次提交
-
-
由 alteredq 提交于
Otherwise things are very much work in progress, expect everything to be broken.
-