gtk-d ~gtk4 (2021-12-20T08:37:41.4817885)
Dub
Repo
Vec2.one
graphene
Vec2
Vec2
Retrieves a constant vector with (1, 1) components.
class
Vec2
static
Vec2
one
(
)
Return Value
Type:
Vec2
the one vector
Meta
Since
1.0
Source
See Implementation
graphene
Vec2
Vec2
constructors
this
destructors
~this
functions
add
divide
dot
equal
free
getStruct
getVec2Struct
getX
getY
init
initFromFloat
initFromVec2
interpolate
length
max
min
multiply
near
negate
normalize
scale
subtract
toFloat
static functions
getType
one
xAxis
yAxis
zero
variables
graphene_vec2
ownedRef
Retrieves a constant vector with (1, 1) components.