gl3n v1.3.1 (2016-01-07T21:01:40Z)
Home
Dub
Repo
abs
gl3n
math
Calculates the absolute value.
T
abs
(T t)
@
safe
pure nothrow
T
abs
(
T
)
(
T
t
)
if
(
!
is_vector
!
T
&&
!
is_quaternion
!
T
&&
!
is_matrix
!
T
)
T
abs
(T vec)
T
abs
(T quat)
Meta
Source
See Implementation
gl3n
math
aliases
fract
roundEven
functions
abs
almost_equal
cdegrees
clamp
cradians
degrees
fmodf
inversesqrt
mod
radians
sign
smoothstep
step
variables
PI_180
_180_PI
Calculates the absolute value.