Creates a new 2D vector.
The x coordinate of the vector.
The y coordinate of the vector.
StaticreadRead a value from the stream.
The BinaryStream to read from.
The value read from the stream.
StaticwriteWrite a value to the stream.
The BinaryStream to write to.
The value to write.
A 2D vector with floating point precision.