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
x | the X field of the vector |
y | the Y field of the vector |
Returns
the initialized vector