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

Unified Diff: core/cross/math_utilities.h

Issue 194061: This fixes some warnings in the Linux release build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 3 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 | « no previous file | core/cross/math_utilities.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/math_utilities.h
===================================================================
--- core/cross/math_utilities.h (revision 25801)
+++ core/cross/math_utilities.h (working copy)
@@ -79,11 +79,7 @@
// See http://en.wikipedia.org/wiki/Matrix_norm
float FrobeniusNorm(const Matrix4& matrix);
-const float kPi = acosf(-1.0f);
+extern const float kPi;
} // namespace o3d
#endif // O3D_CORE_CROSS_MATH_UTILITIES_H_
-
-
-
-
« no previous file with comments | « no previous file | core/cross/math_utilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698