摘要: 首先,是creamk 的qsort: //这段代码求解的是1.0/sqrt(x); 以及c++中简单的实现代码: 1 2 3 4 5 6 7 8 9 10 11 12 static float CarmackSqrt (float x) { float xhalf = 0.5f * x; int i 阅读全文
posted @ 2015-12-13 12:41 hk_lin 阅读(1440) 评论(0) 推荐(0) 编辑