Noise: First pass of refactoring
Former-commit-id: 17c1cf4be282b0ebecf291b4c7858009376a3ad0 [formerly 8ff8938e7afcecdd5e677640d59608c8103e5558] Former-commit-id: c88bb53bf67cd1997a6c40df757aededc0067f9f
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
// Copyright (C) 2015 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Mathematics module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
@@ -28,6 +29,10 @@
|
||||
#define M_SQRT3 1.7320508075688772935274463
|
||||
#endif
|
||||
|
||||
#ifndef M_SQRT5
|
||||
#define M_SQRT5 2.23606797749979
|
||||
#endif
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
template<typename T> /*constexpr*/ T Approach(T value, T objective, T increment);
|
||||
|
||||
Reference in New Issue
Block a user