#include "common.h" #include "Material.h" namespace GtpVisibilityPreprocessor { Material RandomMaterial() { float a = 0.1f; float b = 0.9f; Material m; m.mDiffuseColor = RandomColor(a, b); return m; } RgbColor RandomColor(const float a, const float b) { return RgbColor(a + Random(b), a + Random(b), a + Random(b)); } }