2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-05 00:07:25 +00:00

Add ZCG cpp domain classes

This commit is contained in:
Jan
2021-02-07 23:31:45 +01:00
parent 584492d1ef
commit 65cf1ef9c2
47 changed files with 1250 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
#pragma once
class AlignmentUtils
{
public:
template<typename T>
static T Align(T number, T alignmentValue)
{
return (number + (alignmentValue - 1)) / alignmentValue * alignmentValue;
}
};