imclover07 / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

[Away3DLite] Cube6 only works when the number of segments is the same of x,y,z #138

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a Cube6 instance where any one of the 3 segment options isn't equal 
to the rest:

scene.addChild(new Cube6(new WireColorMaterial(0x009900),100,100,100,1,1,2));

What is the expected output? What do you see instead?

I expect a cube with the following semgments:1,1,2
Instead I see a faces incorrectly drawn( the vertices seem
to be in the right place, the face indices are a bit mixed up)

What version of the product are you using? On what operating system?

Away3DLite 1.0.2

Please provide any additional information below.

Thanks!

Original issue reported on code.google.com by Orgi...@gmail.com on 25 Nov 2010 at 5:48

GoogleCodeExporter commented 9 years ago
This may fix it.
http://groups.google.com/group/away3d-dev/browse_thread/thread/f53b057e72a508bb

Original comment by jbp...@googlemail.com on 16 Dec 2010 at 12:18