mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-27 21:35:40 +00:00
Finish iw3 zone code generation
This commit is contained in:
1 parent
adae75a7a6
commit
6b72ac080f
20 files changed
+542
-76
No files matched your search
@@ -6,6 +6,9 @@ public:
|
||||
template<typename T>
|
||||
static T Align(T number, T alignmentValue)
|
||||
{
|
||||
if (alignmentValue == 0)
|
||||
return number;
|
||||
|
||||
return (number + (alignmentValue - 1)) / alignmentValue * alignmentValue;
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user