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