gl3n ~master (2021-06-11T06:55:56Z)
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.