atelier ~master (2021-08-24T13:35:22Z)
Dub
Repo
Vec2.zero
atelier
core
vec2
Vec2
Null vector.
enum
zero
;
struct
Vec2
(T)
static if
(
__traits(isUnsigned, T)
)
enum
zero
=
Vec2
!
T
(
0u
,
0u
)
;
enum
zero
;
enum
zero
;
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
Null vector.