atelier ~master (2021-08-24T13:35:22Z)
Dub
Repo
Vec2.up
atelier
core
vec2
Vec2
{0, 1} vector.
enum
up
;
enum
up
;
struct
Vec2
(T)
static if
(!(
__traits(isUnsigned, T)
))
static if
(!(
__traits(isFloating, T)
))
enum
up
=
Vec2
!
T
(
0
,
1
)
;
Meta
Source
See Source File
atelier
core
vec2
Vec2
functions
abs
angle
approach
ceil
clamp
contain
cross
distance
distanceSquared
dot
fit
floor
isBetween
length
lengthSquared
lerp
max
min
normal
normalize
normalized
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
reflect
refract
rotate
rotated
round
set
sum
toHash
manifest constants
down
half
left
one
right
up
zero
static functions
angled
variables
x
y
{0, 1} vector.