-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
1,466 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ExoticNumbers
added at
09af31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
file(GLOB_RECURSE sourceFiles | ||
"./Source/*.h" | ||
"./Source/*.cpp" | ||
) | ||
|
||
set(TargetName ImageUtil) | ||
add_library (${TargetName} STATIC ${sourceFiles}) | ||
|
||
target_include_directories(${TargetName} PRIVATE ./Include) | ||
target_include_directories(${TargetName} PRIVATE ./Source) | ||
target_include_directories(${TargetName} PRIVATE ../External/ExoticNumbers/Include) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
#include <LLUtils/EnumClassBitwise.h> | ||
|
||
namespace IMUtil | ||
{ | ||
enum AxisAlignedRotation | ||
{ | ||
None = 0 | ||
, Rotate90CW = 1 | ||
, Rotate180 = 2 | ||
, Rotate90CCW = 3 | ||
}; | ||
|
||
enum class AxisAlignedFlip | ||
{ | ||
None = 0 << 0 | ||
, Horizontal = 1 << 0 | ||
, Vertical = 1 << 1 | ||
}; | ||
|
||
|
||
struct AxisAlignedTransform | ||
{ | ||
AxisAlignedRotation rotation; | ||
AxisAlignedFlip flip; | ||
}; | ||
} | ||
|
||
LLUTILS_DEFINE_ENUM_CLASS_FLAG_OPERATIONS(IMUtil::AxisAlignedFlip) |
Oops, something went wrong.