41 SkyXLOG(
"Mal-formed ColorGradient");
42 return Ogre::Vector3(0,0,0);
47 return Ogre::Vector3(0,0,0);
54 std::pair<int, Ogre::Real> minBound, maxBound;
80 float range = maxBound.second - minBound.second,
81 rangepoint = (p - minBound.second) / range;
88 std::pair<bool, bool> existbounds;
89 existbounds.first =
false; existbounds.second =
false;
96 if (existbounds.first)
101 existbounds.first =
true;
115 if (existbounds.second)
120 existbounds.second =
true;
124 if (!existbounds.first || !existbounds.second)