Vec4.Vec4

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

A basic constructor, just copies the values in!

   
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.
void Vec4(float xyzw)

A basic constructor, just copies the value in as the x, y, z and w components!

   
float xyzw X,Y,Z,and W component of the vector.
void Vec4(Vec3 xyz, float w)

A short hand constructor, just copies the values in!

   
Vec3 xyz X, Y and Z components of the vector.
float w W component of the vector.
void Vec4(Vec2 xy, Vec2 zw)

A basic constructor, just copies the values in!

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




Found an issue with these docs, or have some additional questions? Create an Issue on Github!