Documentation
Dlang.org
Vec2.initFromVec2
graphene
vec2
Vec2
Copies the contents of src into
v
.
class
Vec2
graphene.vec2.Vec2
initFromVec2
(
graphene.vec2.Vec2
src
)
Parameters
src
graphene
.
vec2
.
Vec2
a #graphene_vec2_t
Return Value
Type:
graphene
.
vec2
.
Vec2
the initialized 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
Copies the contents of src into v.