Documentation
Dlang.org
Vec2.xAxis
graphene
vec2
Vec2
Retrieves a constant vector with (1, 0) components.
class
Vec2
static
graphene.vec2.Vec2
xAxis
(
)
Return Value
Type:
graphene
.
vec2
.
Vec2
the X axis vector
graphene
vec2
Vec2
functions
add
divide
dot
equal
getX
getY
initFromFloat
initFromVec2
init_
interpolate
length
max
min
multiply
near
negate
normalize
scale
subtract
toFloat
static functions
alloc
one
xAxis
yAxis
zero
Retrieves a constant vector with (1, 0) components.