这篇文章讲得很好:http://www.cnblogs.com/jim-game-dev/archive/2016/04/19/5410529.html 转载于:https://www.cnblogs.com/wantnon/p/6818927.html