summaryrefslogtreecommitdiff
path: root/zen/basic_math.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/basic_math.h')
-rw-r--r--zen/basic_math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/basic_math.h b/zen/basic_math.h
index f8a7affd..d83a7f77 100644
--- a/zen/basic_math.h
+++ b/zen/basic_math.h
@@ -146,7 +146,7 @@ T confineCpy(const T& val, const T& minVal, const T& maxVal)
}
template <class T> inline
-void confine(T& val, const T& minVal, const T& maxVal) //name trim?
+void confine(T& val, const T& minVal, const T& maxVal) //name trim, clamp?
{
assert(minVal <= maxVal);
if (val < minVal)
bgstack15