tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
rightAngle
tida
angle
Returns the right angle.
template
rightAngle (
ubyte
Type
) {
static if
(
Type == Radians
)
enum
rightAngle
;
static if
(!(
Type == Radians
))
static if
(
Type == Degrees
)
enum
rightAngle
;
static if
(!(
Type == Radians
))
static if
(!(
Type == Degrees
))
static if
(
Type == Turns
)
enum
rightAngle
;
static if
(!(
Type == Radians
))
static if
(!(
Type == Degrees
))
static if
(!(
Type == Turns
))
static if
(
Type == Gons
)
enum
rightAngle
;
}
Members
Manifest constants
rightAngle
enum
rightAngle
;
Undocumented in source.
rightAngle
enum
rightAngle
;
Undocumented in source.
rightAngle
enum
rightAngle
;
Undocumented in source.
rightAngle
enum
rightAngle
;
Undocumented in source.
Parameters
Type
Type angle.
Examples
auto
riaRad
=
rightAngle
!
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
Returns the right angle.