From 1d05d2380bb4f1fd265aef55744f432af38b08aa Mon Sep 17 00:00:00 2001 From: Comment Date: Sun, 8 Dec 2013 10:55:03 +0000 Subject: switched signals to double and random to uint16 --- rotord/src/nodes_source.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rotord/src/nodes_source.h') diff --git a/rotord/src/nodes_source.h b/rotord/src/nodes_source.h index 0e37fc7..2659185 100644 --- a/rotord/src/nodes_source.h +++ b/rotord/src/nodes_source.h @@ -57,7 +57,7 @@ namespace Rotor { }; ~Signal_greyscale(){}; Image *output(const Frame_spec &frame){ - uint8_t col=((uint8_t)(inputs[0]->get((Time_spec)frame)*255.0f)); + uint8_t col=((uint8_t)(inputs[0]->get((Time_spec)frame)*255.0)); if (col!=prevcol){ //how about when starting a new render? //for (int i=0;i