summaryrefslogtreecommitdiff
path: root/rotord/src/nodes_maths.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/nodes_maths.h')
-rw-r--r--rotord/src/nodes_maths.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rotord/src/nodes_maths.h b/rotord/src/nodes_maths.h
index 4ec2cf9..b1e20ca 100644
--- a/rotord/src/nodes_maths.h
+++ b/rotord/src/nodes_maths.h
@@ -25,7 +25,7 @@ namespace Rotor {
base_settings(settings);
}
Comparison* clone(map<string,string> &_settings) { return new Comparison(_settings);};
- const float output(const Time_spec &time) {
+ const float output(const Time_spec &time) {
switch (attributes["operator"]->intVal) {
case COMPARISON_Equal:
return fequal(parameters["value"]->value,inputs[0]->get(time))?1.0f:0.0f;
@@ -46,7 +46,7 @@ namespace Rotor {
return fless_or_equal(parameters["value"]->value,inputs[0]->get(time))?1.0f:0.0f;
break;
}
-
+
return 0.0f;
}
};
@@ -193,7 +193,7 @@ namespace Rotor {
create_signal_input("signal","Signal");
create_parameter("seed","number","Seed value","Seed",1.0f);
};
- Random(map<string,string> &settings) {
+ Random(map<string,string> &settings):Random() {
base_settings(settings);
};
Random* clone(map<string,string> &_settings) { return new Random(_settings);};
@@ -231,4 +231,4 @@ namespace Rotor {
};
}
-#endif \ No newline at end of file
+#endif