updated gloop for away3d dev