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

Unified Diff: mojo/services/geometry/cpp/geometry_util.h

Issue 1537633005: Extend the geometry APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-10
Patch Set: Created 5 years 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
Index: mojo/services/geometry/cpp/geometry_util.h
diff --git a/mojo/services/geometry/cpp/geometry_util.h b/mojo/services/geometry/cpp/geometry_util.h
index 3d4d35eec467bfeb4bcabaae7e0d94b266c0ee72..97271c9057d97dd2218b65926b3b6f5eff188054 100644
--- a/mojo/services/geometry/cpp/geometry_util.h
+++ b/mojo/services/geometry/cpp/geometry_util.h
@@ -5,7 +5,7 @@
#ifndef MOJO_SERVICES_GEOMETRY_CPP_GEOMETRY_UTIL_H_
#define MOJO_SERVICES_GEOMETRY_CPP_GEOMETRY_UTIL_H_
-#include "geometry/interfaces/geometry.mojom.h"
+#include "mojo/services/geometry/interfaces/geometry.mojom.h"
viettrungluu 2015/12/17 23:05:29 Hmmm. So, not having "mojo/services/" before was "
jeffbrown 2015/12/18 01:41:22 This change was probably unintentional (since this
viettrungluu 2015/12/18 02:05:36 I think it's definitely easier for us. The origina
namespace mojo {
@@ -34,6 +34,9 @@ inline bool operator!=(const Point& lhs, const Point& rhs) {
return !(lhs == rhs);
}
+void SetIdentityTransform(Transform* transform);
viettrungluu 2015/12/17 23:05:29 I wonder if it wouldn't be more natural for these
jeffbrown 2015/12/18 01:41:22 I considered that but this ended up being more gen
viettrungluu 2015/12/18 02:05:36 OK.
+void SetTranslationTransform(Transform* transform, float x, float y, float z);
+
} // namespace mojo
#endif // MOJO_SERVICES_GEOMETRY_CPP_GEOMETRY_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698