clang-format
This commit is contained in:
parent
d0155e00f7
commit
651621b1c5
|
|
@ -19,7 +19,7 @@ struct ByteArray {
|
||||||
std::size_t length;
|
std::size_t length;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class Mode: std::uint32_t {
|
enum class Mode : std::uint32_t {
|
||||||
Solid,
|
Solid,
|
||||||
Shell,
|
Shell,
|
||||||
Mesh,
|
Mesh,
|
||||||
|
|
@ -47,8 +47,8 @@ struct RedrawArgs {
|
||||||
} // namespace ffi
|
} // namespace ffi
|
||||||
|
|
||||||
using ffi::Mode;
|
using ffi::Mode;
|
||||||
using ffi::ShapeArgs;
|
|
||||||
using ffi::RedrawArgs;
|
using ffi::RedrawArgs;
|
||||||
|
using ffi::ShapeArgs;
|
||||||
|
|
||||||
/// Cast an integer to @c Mode, returning a fallback if the input is out of range.
|
/// Cast an integer to @c Mode, returning a fallback if the input is out of range.
|
||||||
inline static Mode modeFromInt(std::uint32_t mode) {
|
inline static Mode modeFromInt(std::uint32_t mode) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user