What & How & Why

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
vfx:houdini:vex:functions:math [2020/05/17 09:34] – [General] codingharevfx:houdini:vex:functions:math [2021/11/11 08:08] (当前版本) codinghare
行 1: 行 1:
 ======Math====== ======Math======
 Math functions in VEX //Ver. 18.0//  Math functions in VEX //Ver. 18.0// 
-===== =====+----
 ====General==== ====General====
 ===Abs=== ===Abs===
行 8: 行 8:
 //返回:对应参数的绝对值 //返回:对应参数的绝对值
 //对于 vector:绝对值按分量为单位计算。从这一点上看,也是在求两个点之间的距离,类似 distance() //对于 vector:绝对值按分量为单位计算。从这一点上看,也是在求两个点之间的距离,类似 distance()
-/ *使用 */+/* 使用 */
 int abs(int n); int abs(int n);
 float abs(float n); float abs(float n);
 <vector> abs(<vector>v); <vector> abs(<vector>v);
 </code> </code>