new version of Angle to fix mipmap bug