Files
three.js/examples
Dean Jackson 5965061ca1 Extruded geometry was treating materials as objects rather than indices and
UV mapping of extruded geometry was miscalculated.

- ExtrudeGeometry was documented to take a Three.Material for the
  "material" and "extrudeMaterial" parameters, but the examples and
  usage in TextGeometry showed that these were in fact indices into
  the materials array. This meant that the tests such as "if (material)"
  would evaluate to false if the index passed in was 0 (a very typical
  index to choose :). Simply have the tests check against undefined and
  update the documentation.

- Also, the code that converted a shape into a set of triangles was
  miscalculating the UV offsets. It was correctly dividing the UV by
  the bounding box of the old shape, but was forgetting to offset the
  value from the minimum (which potentially led to negative UVs).
2011-11-30 08:40:27 +11:00
..
2011-06-09 18:25:53 +02:00
2011-10-31 14:12:44 +01:00
2011-10-06 06:15:03 +02:00