feat: basic dependency graph cooking, updating viewport
This commit is contained in:
@@ -59,12 +59,19 @@ public:
|
||||
return *data_;
|
||||
}
|
||||
|
||||
T getValue(uint pos) const
|
||||
T getValue(size_t pos) const
|
||||
{
|
||||
// TODO:protect against invalid positions
|
||||
// TODO: cast types
|
||||
return data_->at(pos);
|
||||
}
|
||||
|
||||
void setValue(size_t pos, const T& value)
|
||||
{
|
||||
// TODO:protect against invalid positions
|
||||
// TODO: cast types
|
||||
(*data_)[pos] = value;
|
||||
}
|
||||
std::string getName() const
|
||||
{
|
||||
return name_;
|
||||
|
||||
Reference in New Issue
Block a user