| 521 | } |
| 522 | |
| 523 | void SettingsContainer::AddDirectionSetting(const char* name, const char* label, const char* group, |
| 524 | Float3 initialVal, const char* helpText) |
| 525 | { |
| 526 | Assert_(settings.find(name) == settings.end()); |
| 527 | Assert_(tweakBar != nullptr); |
| 528 | DirectionSetting* setting = new DirectionSetting(); |
| 529 | setting->Initialize(tweakBar, name, group, label, helpText, initialVal); |
| 530 | settings[name] = setting; |
| 531 | allocatedSettings.push_back(setting); |
| 532 | } |
| 533 | |
| 534 | void SettingsContainer::AddOrientationSetting(const char* name, const char* label, const char* group, |
| 535 | Quaternion initialVal, const char* helpText) |
nothing calls this directly
no test coverage detected