| Index: ui/gfx/vector3d_f.cc
|
| diff --git a/ui/gfx/vector3d_f.cc b/ui/gfx/vector3d_f.cc
|
| index 02f0378832491261cca41986fefe7abedee86502..a6fd6116d47d2ff3509942c85fe90221905fac1a 100644
|
| --- a/ui/gfx/vector3d_f.cc
|
| +++ b/ui/gfx/vector3d_f.cc
|
| @@ -72,8 +72,8 @@ void Vector3dF::Cross(const Vector3dF& other) {
|
| z_ = z;
|
| }
|
|
|
| -float DotProduct(const Vector3dF& lhs, const Vector3dF& rhs) {
|
| - return lhs.x() * rhs.x() + lhs.y() * rhs.y() + lhs.z() * rhs.z();
|
| +float DotProduct(const Vector3dF& lhs, float x, float y, float z) {
|
| + return lhs.x() * x + lhs.y() * y + lhs.z() * z;
|
| }
|
|
|
| Vector3dF ScaleVector3d(const Vector3dF& v,
|
|
|