Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: ui/gfx/geometry/vector3d_f.cc

Issue 2051343002: Make various gfx classes more amenable to use as compile-time constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete destructor Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/geometry/vector3d_f.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/geometry/vector3d_f.cc
diff --git a/ui/gfx/geometry/vector3d_f.cc b/ui/gfx/geometry/vector3d_f.cc
index 87223880669ed51a4bd15cc1302d31a14d16a4fa..ddeafe5ee6f2bf142c8ee999bbb8deba9133d329 100644
--- a/ui/gfx/geometry/vector3d_f.cc
+++ b/ui/gfx/geometry/vector3d_f.cc
@@ -14,24 +14,6 @@ const float kRadiansToDegrees = 180.0f / 3.14159265f;
namespace gfx {
-Vector3dF::Vector3dF()
- : x_(0),
- y_(0),
- z_(0) {
-}
-
-Vector3dF::Vector3dF(float x, float y, float z)
- : x_(x),
- y_(y),
- z_(z) {
-}
-
-Vector3dF::Vector3dF(const Vector2dF& other)
- : x_(other.x()),
- y_(other.y()),
- z_(0) {
-}
-
std::string Vector3dF::ToString() const {
return base::StringPrintf("[%f %f %f]", x_, y_, z_);
}
« no previous file with comments | « ui/gfx/geometry/vector3d_f.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698