Allow conversion operator for Vec3 parameters.