forked from: BezierPatch away3D

