init_from_vec3


Description:

[ Version ( since = "1.0" ) ]
public unowned Vec4? init_from_vec3 (Vec3 src, float w)

Initializes a Vec4 using the components of a Vec3 and the value of w.

Parameters:

this

a Vec4

src

a Vec3

w

the value for the fourth component of this

Returns:

the initialized vector