Vec4.Vec4

Vec4(float x, float y, float z, float w)

   
float x X component of the vector.
float y Y component of the vector.
float z Z component of the vector.
float w W component of the vector.

A basic constructor, just copies the values in!

Vec4(Vec3 xyz, float w)

   
Vec3 xyz X, Y and Z components of the vector.
float w W component of the vector.

A basic constructor, just copies the values in!

Vec4(Vec2 xy, Vec2 zw)

   
Vec2 xy X and Y components of the vector.
Vec2 zw Z and W components of the vector.

A basic constructor, just copies the values in!