Noise: First pass of refactoring

Former-commit-id: 17c1cf4be282b0ebecf291b4c7858009376a3ad0 [formerly 8ff8938e7afcecdd5e677640d59608c8103e5558]
Former-commit-id: c88bb53bf67cd1997a6c40df757aededc0067f9f
This commit is contained in:
Jérôme Leclercq
2016-06-18 12:36:20 +02:00
parent 2f6ec2bd2c
commit 56e9e7bae6
14 changed files with 485 additions and 535 deletions

View File

@@ -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);