瀏覽代碼

Fix missing include

Marc Legendre 9 年之前
父節點
當前提交
58d28d8ffb
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 2 0
      Source/BansheeCore/Include/BsSamplerState.h
  2. 2 1
      Source/BansheeUtility/Include/BsVectorNI.h

+ 2 - 0
Source/BansheeCore/Include/BsSamplerState.h

@@ -7,6 +7,8 @@
 #include "BsIReflectable.h"
 #include "BsCoreObject.h"
 
+#include <cfloat>
+
 namespace BansheeEngine 
 {
 	/** @addtogroup RenderAPI

+ 2 - 1
Source/BansheeUtility/Include/BsVectorNI.h

@@ -3,6 +3,7 @@
 #pragma once
 
 #include "BsPrerequisitesUtil.h"
+#include "BsVector2I.h"
 
 namespace BansheeEngine
 {
@@ -68,4 +69,4 @@ namespace BansheeEngine
 
 	typedef VectorNI<3> Vector3I;
 	typedef VectorNI<4> Vector4I;
-}
+}