get_xyzw


Description:

[ Version ( since = "1.0" ) ]
public Vec4 get_xyzw (float w)

Converts a Vec3 in a Vec4 using w as the value of the fourth component of the resulting vector.

Parameters:

this

a Vec3

w

the value of the W component

res

return location for the vector