int avg(int a)
float avg(float a)
Returns a
.
float avg(float a, float b, ...)
Returns the average of the arguments.
float avg(vector2 v)
float avg(vector v)
float avg(vector4 v)
Returns the average of the values in the components of v
.
vector2 avg(vector2 a, vector2 b, ...)
vector avg(vector a, vector b, ...)
vector4 avg(vector4 a, vector4 b, ...)
Returns a new vector where each component is the average of the corresponding components in the arguments.
<type> avg(<type>arr[])
Returns the average of the values in the array.
math |
|
vector |