init_from_float


Description:

[ Version ( since = "1.0" ) ]
public unowned Vec2? init_from_float (float[] src)

Initializes this with the contents of the given array.

Parameters:

this

a Vec2

src

an array of floating point values with at least two elements

Returns:

the initialized vector