Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
22 lines
336 B
C++
22 lines
336 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace mln {
|
|
namespace gfx {
|
|
|
|
class ScissorRect {
|
|
public:
|
|
int32_t x;
|
|
int32_t y;
|
|
uint32_t width;
|
|
uint32_t height;
|
|
|
|
bool operator==(const ScissorRect& other) const = default;
|
|
|
|
bool operator!=(const ScissorRect& other) const = default;
|
|
};
|
|
|
|
} // namespace gfx
|
|
} // namespace mln
|