away3d / away3d-core-openfl

Away3D engine for OpenFL
166 stars 41 forks source link

Extrusion Functions broken #80

Closed mightymarcus closed 8 years ago

mightymarcus commented 8 years ago

None of the extrusion functions work for me. It seems that buildExtrude is called too early, when some variables are not defined yet, like in LinearExtrude.

private function buildExtrude():Void {
    if (_aVectors == null || _aVectors.length < 2) throw new Error("LinearExtrusion error: at least 2 vector3D required!");

this is ALWAYS the case (logically).

Type not found: Vector, have to import openfl.Vector.

mightymarcus commented 8 years ago

forget it, works, except Linear... :=)

my bad.