Commit Graph

10 Commits

Author SHA1 Message Date
ChrisDenham
5b16652f83 Fixes extreme slowness of Geometry.rayIntersection.
You are all going to love this pull request!

It fixes an extreme inefficiency in 'Geometry.rayIntersection' caused by using the 'indices' property rather than the '_indices' member. This was making three copies of the entire index array for EVERY triangle.

Ray intersections with complex models is now actually usable.

Enjoy!

Chris.
2013-12-11 16:05:55 +00:00
ChrisDenham
1fe29c7ec4 Adding Geometry clone function.
Maybe someone will find a use for this. I use it to allow editing of the geometry of a cloned mesh. Note that Mesh.clone() only performs a shallow copy of reference to contained geometry, so this can be used to perform a deeper copy of the mesh object as required.
2013-11-05 17:16:29 +00:00
makc
88f998a517 null reference fix for mesh with isolated vertices
http://forum.alternativaplatform.com/index.php?showtopic=4478&hl=
2013-01-25 18:23:31 +01:00
Andrey Kopysov
eb525b22db Merge pull request #33 from wilsonsilva/master
Performance update using object and array literals
2012-12-12 20:49:52 -08:00
Dmitry Kravtsov
16ea5e0414 Bugfix: Uploading of partialy uploaded Geometry
When Geometry is uploaded, one can add new VertexStream,
which would cause a Runtime error during next upload (null reference)
2012-10-25 14:48:57 +11:00
Wilson Silva
0966767ae0 Performance update using object and array literals
The object and array literals are faster than the 'new' keyword.
2012-10-09 15:42:56 +01:00
artem pecheny
4fb82d17fb Add @private tag for alternativa3d namespace fields 2012-09-10 19:28:00 +06:00
Yaski
6fcec0d9b6 Maven asdoc output 2012-07-12 21:42:49 +06:00
maltsev
c9816581c5 First commit 2012-03-29 14:21:07 +06:00
maltsev
93fff1889a Test commit 2012-03-28 17:37:50 +06:00