sinisterchipmunk / jax

Framework for creating rich WebGL-enabled applications using JavaScript and Ruby
http://jaxgl.com
MIT License
96 stars 16 forks source link

Add Jax.Mesh.Triangle to built-in meshes #57

Open sinisterchipmunk opened 12 years ago

sinisterchipmunk commented 12 years ago

How is a simple Triangle not in there?

sinisterchipmunk commented 12 years ago

Bumping back to v3.1 because I've not decided how to handle Jax.Geometry.Triangle. Also, it might make sense to introduce Jax.Model.Triangle or just Jax.Triangle and have it tie into Jax.Geometry.Triangle, and do the same with Jax.Model.Plane. But this would also mean more overhead for individual triangles, especially where they are parsed out of Jax.Mesh.Data, which might one day get its #getTriangles back if it can be made fast enough (e.g. with web workers).