diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-01-20 01:59:04 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-01-20 01:59:04 +0000 |
| commit | 0dfbf40106d6a6c70d949e1f5bcfa1b33b20a68f (patch) | |
| tree | 99a257b9e35d3eb76948f99a7cb51eed53514b01 /NT/src/nodes.h | |
| parent | bd5a1d60ab7e1a930835e239cc0ee7257e9e82ad (diff) | |
member access permissions
Diffstat (limited to 'NT/src/nodes.h')
| -rw-r--r-- | NT/src/nodes.h | 4 |
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);}; |
