Add specific initialization of Flags and FlagBits. (#489)
Resolves #488.
This commit is contained in:
committed by
Markus Tavenrath
parent
bb5b19deda
commit
33b244859b
@@ -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>;
|
||||
using ModifierFlags = vk::Flags<ModifierFlagBits, uint32_t, ModifierFlagBits::Shift>;
|
||||
|
||||
public:
|
||||
CameraManipulator();
|
||||
|
||||
Reference in New Issue
Block a user