BsColorGradientEx.cpp 431 B

1234567891011
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #include "BsColorGradientEx.h"
  4. namespace bs
  5. {
  6. Color ColorGradientEx::evaluate(const SPtr<ColorGradient>& thisPtr, float t)
  7. {
  8. return Color::fromRGBA(thisPtr->evaluate(t));
  9. }
  10. }