The arctangent function with two arguments. The second argument is needed to determine the appropriate quadrant of the computed angle.
public function real.abs() returns real
Returns the abolsute value of the given real. This means, negative values will be return positive.
public function real.squared() returns real
Returns the result of this * this, i.e. the square
public function real.sign() returns int
Returns the sign of this real
public function real.round() returns int
Rounds the input real to the nearest int
public function real.trunc() returns int
Rounds the input real towards zero to the nearest int
public function real.floor() returns int
Rounds the input real downward to the nearest int
public function real.ceil() returns int
Rounds the input real upward to the nearest int
public function real.clamp(real lowerBound, real higherBound) returns real
Limits the input real to the given range
public function real.toInt() returns int
Converts the input real to an int. This cuts off the decimal digits. (1.9 -> 1)
public function real.toString() returns string
Returns the string representation of this real
public function real.toString(int precision) returns string
Returns the string representation of this real with the given amount if digits precision
public function real.acos() returns real
The inverse trigonometric function of cosine
public function real.asin() returns real
The inverse trigonometric function of sine
public function real.atan() returns real
The inverse trigonometric function of tangent
public function real.cos() returns real
The trigonometric function of cosine
public function real.sin() returns real
The trigonometric function of sine
public function real.tan() returns real
The trigonometric function of tangent
public function real.atan2(real y) returns real
public function real.pow(real x) returns real
Returns this real to the power of the argument real
public function real.lerp(real target, real alpha) returns real
Linear Interpolation with alphafactor(smoothness)
public function real.isBetween(real low, real high) returns bool
Checks if this real is between low and high value
public function real.saturate() returns real
Clamps to [0,1]
public function real.inverseLerp(real a, real b) returns real
t in [0,1] such that mix(a,b,t) == this (clamped)
public function real.smoothstep(real edge0, real edge1) returns real
Smoothstep from edge0 to edge1
public function real.smootherstep(real edge0, real edge1) returns real
Smootherstep from edge0 to edge1
public constant REAL_MAX = 340282366920938000000000000000000000000.
public constant REAL_MIN = -340282366920938000000000000000000000000.