Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 950 vs 976 for /trunk/Source Code/Core/Math/Headers/MathHelper.h

Diff revisions: vs.
  @@ -113,7 +113,13 @@
113 113 T CLAMPED(const T& n, const T min, const T max);
114 114
115 115 template <typename T>
116 - T MAP(T input, const T in_min, const T in_max, const T out_min, const T out_max);
116 + T MAP(T input, const T in_min, const T in_max, const T out_min, const T out_max, D64& slopeOut);
117 +
118 + template <typename T>
119 + T MAP(T input, const T in_min, const T in_max, const T out_min, const T out_max) {
120 + D64 slope = 0.0;
121 + return MAP(input, in_min, in_max, out_min, out_max, slope);
122 + }
117 123
118 124 U32 nextPOW2(U32 n);
119 125