create a cylinder with yUp =false
light = new PointLight(); //pos set in renderloop
scene.addChild(light);
var mat:BitmapMaterial = new BitmapMaterial(Bitmap(new IMGASSET()).bitmapData);
mat.lights = [light]
var cylinder:Cylinder = new Cylinder(mat, 150, 150, 200, 8, 4, true, true,
false);
scene.addChild(cylinder);
The top and bottom center vertices are reversed.
possible fix?
line 80
vertices[numVerts++] = -_height/2;
line 166
vertices[numVerts++] = _height/2;
Original issue reported on code.google.com by jbp...@googlemail.com on 11 Apr 2011 at 9:17
Original issue reported on code.google.com by
jbp...@googlemail.com
on 11 Apr 2011 at 9:17