blob: fecc8476d3f3f34d02cee9b0a2d727b17f9da5db [file] [log] [blame] [edit]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "vector.h"
#include <sstream>
namespace impeller {
std::string Vector3::ToString() const {
std::stringstream stream;
stream << "{" << x << ", " << y << ", " << z << "}";
return stream.str();
}
std::string Vector4::ToString() const {
std::stringstream stream;
stream << "{" << x << ", " << y << ", " << z << ", " << w << "}";
return stream.str();
}
} // namespace impeller