gtk-d ~gtk4 (2021-12-20T08:37:41.4817885)
Dub
Repo
Vec2.this
graphene
Vec2
Vec2
Sets our main struct and passes it to the parent class.
this
(graphene_vec2_t* graphene_vec2, bool ownedRef)
class
Vec2
this
(
graphene_vec2_t
*
graphene_vec2
,
bool
ownedRef
= false
)
this
()
Meta
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
Sets our main struct and passes it to the parent class.