Index: ui/gfx/vector3d_f.h |
diff --git a/ui/gfx/vector3d_f.h b/ui/gfx/vector3d_f.h |
index bb93abdeaffb8d1e325123e65df121c27b1ea31f..a0ee48f0cf12e640f5cdf0d763ce48bf5d57d40a 100644 |
--- a/ui/gfx/vector3d_f.h |
+++ b/ui/gfx/vector3d_f.h |
@@ -44,13 +44,13 @@ class UI_EXPORT Vector3dF { |
void operator+=(const Vector3dF& other) { Add(other); } |
void operator-=(const Vector3dF& other) { Subtract(other); } |
- void ClampToMax(const Vector3dF& max) { |
+ void ClampToUpperBound(const Vector3dF& max) { |
x_ = x_ <= max.x_ ? x_ : max.x_; |
y_ = y_ <= max.y_ ? y_ : max.y_; |
z_ = z_ <= max.z_ ? z_ : max.z_; |
} |
- void ClampToMin(const Vector3dF& min) { |
+ void ClampToLowerBound(const Vector3dF& min) { |
x_ = x_ >= min.x_ ? x_ : min.x_; |
y_ = y_ >= min.y_ ? y_ : min.y_; |
z_ = z_ >= min.z_ ? z_ : min.z_; |