Vec2.initFromFloat
graphene.vec2.Vec2 initFromFloat(float[] src)Initializes v with the contents of the given array.
Parameters
src | an array of floating point values with at least two elements |
Returns
the initialized vector
graphene.vec2.Vec2 initFromFloat(float[] src)Initializes v with the contents of the given array.
src | an array of floating point values with at least two elements |