Remove template parameter defaultValue from Flags. (#492)

Flags always default to just no FlagBits set.
This commit is contained in:
Andreas Süßenbach
2020-01-21 12:01:35 +01:00
committed by Markus Tavenrath
parent 33b244859b
commit f1668a6e28
3 changed files with 202 additions and 202 deletions

View File

@@ -29,7 +29,7 @@ namespace vk
enum class Mode { Examine, Fly, Walk, Trackball };
enum class MouseButton { None, Left, Middle, Right };
enum class ModifierFlagBits { Shift = 1, Ctrl = 2, Alt = 4 };
using ModifierFlags = vk::Flags<ModifierFlagBits, uint32_t, ModifierFlagBits::Shift>;
using ModifierFlags = vk::Flags<ModifierFlagBits>;
public:
CameraManipulator();