away3d / away3d-core-openfl

Away3D engine for OpenFL
166 stars 41 forks source link

LinearExtrude subdivision should not divide offset #86

Open damrem opened 7 years ago

damrem commented 7 years ago

When instanciating a LinearExtrude, offset is divided by subdivision.

var mesh = new LinearExtrude(material, vectors, LinearExtrude.Y_AXIS, 250, 3);

The mesh height will be 250/3 instead of 250. Polygon count seems OK tough, then I guess they overlap.