From d5647179190ceef5bb450209eb51febf46fc7335 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 29 Aug 2018 22:49:12 -0700 Subject: Fixed MacOS/iOS build error --- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 4ac6148a..838c817b 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1400,6 +1400,25 @@ namespace Diligent Uint32 MaxY = 0; ///< Maximal Y coordinate. Default value is 0 Uint32 MinZ = 0; ///< Minimal Z coordinate. Default value is 0 Uint32 MaxZ = 1; ///< Maximal Z coordinate. Default value is 1 + + Box(Uint32 _MinX, Uint32 _MaxX, + Uint32 _MinY, Uint32 _MaxY, + Uint32 _MinZ, Uint32 _MaxZ) : + MinX(_MinX), MaxX(_MaxX), + MinY(_MinY), MaxY(_MaxY), + MinZ(_MinZ), MaxZ(_MaxZ) + {} + + Box(Uint32 _MinX, Uint32 _MaxX, + Uint32 _MinY, Uint32 _MaxY) : + Box(_MinX, _MaxX, _MinY, _MaxY, 0, 1) + {} + + Box(Uint32 _MinX, Uint32 _MaxX) : + Box(_MinX, _MaxX, 0, 0, 0, 1) + {} + + Box(){} }; -- cgit v1.2.3