Add unity build support

This commit is contained in:
Jérôme Leclercq
2022-03-15 08:26:57 +01:00
parent 0a4fd8f56d
commit 6bd9f1a9e4
109 changed files with 964 additions and 680 deletions

View File

@@ -21,7 +21,7 @@ namespace Nz
* \brief Core class that represents the "Guillotine problem", combination of the "Bin packing problem" and the "cutting stock"
*/
namespace
namespace NAZARA_ANONYMOUS_NAMESPACE
{
/*!
* \brief Gets the score for fitting the area
@@ -635,6 +635,8 @@ namespace Nz
int GuillotineBinPack::ScoreByHeuristic(int width, int height, const Rectui& freeRect, FreeRectChoiceHeuristic rectChoice)
{
NAZARA_USE_ANONYMOUS_NAMESPACE
switch (rectChoice)
{
case RectBestAreaFit: