mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Finish iw3 zone code generation
This commit is contained in:
@ -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