| 145 | } |
| 146 | |
| 147 | bool ImageCurve::IsDefault() |
| 148 | { |
| 149 | return (mPoints.size() == 2) && (mPoints[0].mX == 0) && (mPoints[0].mY == 0) && (mPoints[1].mX == 255.0f) && (mPoints[1].mY == 255.0f); |
| 150 | } |
| 151 | |
| 152 | static uint32 LerpColor(uint32 color1, uint32 color2, float pct) |
| 153 | { |