Initializes a Vec3 with the values from an array.
a Vec3
an array of 3 floating point values
the initialized vector