| 689 | } |
| 690 | |
| 691 | void SettingsContainer::AddDirectionSetting(const char* name, const char* label, const char* group, |
| 692 | Float3 initialVal, const char* helpText) |
| 693 | { |
| 694 | Assert_(settings.find(name) == settings.end()); |
| 695 | Assert_(tweakBar != nullptr); |
| 696 | DirectionSetting* setting = new DirectionSetting(); |
| 697 | setting->Initialize(tweakBar, name, group, label, helpText, initialVal); |
| 698 | settings[name] = setting; |
| 699 | allocatedSettings.push_back(setting); |
| 700 | } |
| 701 | |
| 702 | void SettingsContainer::AddOrientationSetting(const char* name, const char* label, const char* group, |
| 703 | Quaternion initialVal, const char* helpText) |
nothing calls this directly
no test coverage detected