Vec2.init_

graphene.vec2.Vec2 init_(float x, float y)

Initializes a #graphene_vec2_t using the given values.

This function can be called multiple times.

Parameters

xthe X field of the vector
ythe Y field of the vector

Returns

the initialized vector