tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
max
tida
angle
Maximum angle value.
template
max (
ubyte
Type
) {
static if
(
Type == Radians
)
enum
max
;
static if
(!(
Type == Radians
))
static if
(
Type == Degrees
)
enum
max
;
static if
(!(
Type == Radians
))
static if
(!(
Type == Degrees
))
static if
(
Type == Turns
)
enum
max
;
static if
(!(
Type == Radians
))
static if
(!(
Type == Degrees
))
static if
(!(
Type == Turns
))
static if
(
Type == Gons
)
enum
max
;
}
Members
Manifest constants
max
enum
max
;
Undocumented in source.
max
enum
max
;
Undocumented in source.
max
enum
max
;
Undocumented in source.
max
enum
max
;
Undocumented in source.
Parameters
Type
Type angle.
Examples
auto
maxRad
=
max
!
Radians
;
Meta
Source
See Implementation
tida
angle
aliases
degToRad
from
perigon
radToDeg
functions
betweenAngle
conv
minimize
pointDirection
rotate
vectorDirection
manifest constants
Degrees
Gons
Radians
Turns
templates
max
rightAngle
straight
Maximum angle value.