summaryrefslogtreecommitdiff
path: root/NT/src/nodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'NT/src/nodes.h')
-rw-r--r--NT/src/nodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/NT/src/nodes.h b/NT/src/nodes.h
index 64d14a2..1632363 100644
--- a/NT/src/nodes.h
+++ b/NT/src/nodes.h
@@ -17,7 +17,7 @@ namespace Rotor{
init(settings);
};
const double &get_output(const Frame_parameters &frame){
- value=frame.time;
+ value=frame.get_time();
return value;
}
Time* clone(Json::Value &_settings) { return new Time(_settings);};
@@ -39,7 +39,7 @@ namespace Rotor{
};
const double &get_output(const Frame_parameters &frame){
result=1.0f;
- for (auto var:factors->values) result*=var.get(frame);
+ for (auto var:factors->get_values()) result*=var.get(frame);
return result;
}
Multiply* clone(Json::Value &_settings) { return new Multiply(_settings);};