2
0

BsParticleDistributionEx.cpp 639 B

12345678910111213141516
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2018 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #include "BsParticleDistributionEx.h"
  4. namespace bs
  5. {
  6. Color ColorDistributionEx::evaluate(const SPtr<ColorDistribution>& thisPtr, float t, float factor)
  7. {
  8. return Color::fromRGBA(thisPtr->evaluate(t, factor));
  9. }
  10. class Color ColorDistributionEx::evaluate(const SPtr<ColorDistribution>& thisPtr, float t, Random& factor)
  11. {
  12. return Color::fromRGBA(thisPtr->evaluate(t, factor));
  13. }
  14. }