Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
This commit is contained in:
@@ -133,9 +133,9 @@ namespace Nz
|
||||
template<typename T>
|
||||
bool Box<T>::Contains(T X, T Y, T Z) const
|
||||
{
|
||||
return X >= x && X <= x + width &&
|
||||
Y >= y && Y <= y + height &&
|
||||
Z >= z && Z <= z + depth;
|
||||
return X >= x && X < x + width &&
|
||||
Y >= y && Y < y + height &&
|
||||
Z >= z && Z < z + depth;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -117,8 +117,8 @@ namespace Nz
|
||||
template<typename T>
|
||||
bool Rect<T>::Contains(T X, T Y) const
|
||||
{
|
||||
return X >= x && X <= (x + width) &&
|
||||
Y >= y && Y <= (y + height);
|
||||
return X >= x && X < (x + width) &&
|
||||
Y >= y && Y < (y + height);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -9,12 +9,16 @@
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Network/Config.hpp>
|
||||
#include <Nazara/Network/Enums.hpp>
|
||||
#include <functional>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
NAZARA_NETWORK_API const char* ErrorToString(Nz::ResolveError resolveError);
|
||||
NAZARA_NETWORK_API const char* ErrorToString(Nz::SocketError socketError);
|
||||
|
||||
NAZARA_NETWORK_API bool ParseIPAddress(const char* addressPtr, UInt8 result[16], UInt16* port = nullptr, bool* isIPv6 = nullptr, const char** endOfRead = nullptr);
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user