Const and Warning Correctness

const method correctness
fix some warnings
Missing Render method added back
Fix examples to use new NeoShaderBase
This commit is contained in:
Michael Miller
2018-08-16 12:35:49 -07:00
parent 940c4f37f3
commit e4b47d435e
6 changed files with 41 additions and 22 deletions
@@ -36,12 +36,12 @@ const RgbColor White(255);
const RgbColor Black(0);
// define a custom shader object that provides brightness support
// based upon the NeoBitsBase
template<typename T_COLOR_FEATURE> class BrightnessShader : public NeoBitsBase
// based upon the NeoShaderBase
template<typename T_COLOR_FEATURE> class BrightnessShader : public NeoShaderBase
{
public:
BrightnessShader():
NeoBitsBase(),
NeoShaderBase(),
_brightness(255) // default to full bright
{}
@@ -34,12 +34,12 @@ const RgbColor White(255);
const RgbColor Black(0);
// define a custom shader object that provides brightness support
// based upon the NeoBitsBase
class BrightnessShader : public NeoBitsBase
// based upon the NeoShaderBase
class BrightnessShader : public NeoShaderBase
{
public:
BrightnessShader():
NeoBitsBase(),
NeoShaderBase(),
_brightness(255) // default to full bright
{}