#define conversion from C to C#

后端 未结 0 536
时光取名叫无心
时光取名叫无心 2021-02-15 23:10

Is this C code:

/* LERP(a,b,c) = linear interpolation macro, is \'a\' when c == 0.0 and \'b\' when c == 1.0 */
#define LERP(a,b,c)     (((b) - (a)) * (c) + (a))
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题