/** * Construct a Vector using a reference Vector. This will be used to do * implicit casts from RefVector to Vector for most of the Vector operations. * * @param vec the RefVector to copy */ Vector::Vector(const RefVector& vec) : data({vec.x(), vec.y(), vec.z(), 0.0}) { }