| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/gfx/vector3d_f.h" | 5 #include "ui/gfx/geometry/vector3d_f.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 | 10 |
| 11 namespace gfx { | 11 namespace gfx { |
| 12 | 12 |
| 13 Vector3dF::Vector3dF() | 13 Vector3dF::Vector3dF() |
| 14 : x_(0), | 14 : x_(0), |
| 15 y_(0), | 15 y_(0), |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 Vector3dF ScaleVector3d(const Vector3dF& v, | 79 Vector3dF ScaleVector3d(const Vector3dF& v, |
| 80 float x_scale, | 80 float x_scale, |
| 81 float y_scale, | 81 float y_scale, |
| 82 float z_scale) { | 82 float z_scale) { |
| 83 Vector3dF scaled_v(v); | 83 Vector3dF scaled_v(v); |
| 84 scaled_v.Scale(x_scale, y_scale, z_scale); | 84 scaled_v.Scale(x_scale, y_scale, z_scale); |
| 85 return scaled_v; | 85 return scaled_v; |
| 86 } | 86 } |
| 87 | 87 |
| 88 } // namespace gfx | 88 } // namespace gfx |
| OLD | NEW |