float lerp(float a, float b, float w) { return a + w*(b-a);} ... CG 标准函数库和C 的标准函数库类似,Cg 提供了一系列内建的标准函数。
確定! 回上一頁