Files
NazaraEngine/include/Nazara/Noise/Simplex.hpp
Jérôme Leclercq 56e9e7bae6 Noise: First pass of refactoring
Former-commit-id: 17c1cf4be282b0ebecf291b4c7858009376a3ad0 [formerly 8ff8938e7afcecdd5e677640d59608c8103e5558]
Former-commit-id: c88bb53bf67cd1997a6c40df757aededc0067f9f
2016-06-18 12:36:20 +02:00

29 lines
747 B
C++

// Copyright (C) 2016 Rémi Bèges
// This file is part of the "Nazara Engine - Noise module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#ifndef SIMPLEX_HPP
#define SIMPLE_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Noise/Config.hpp>
#include <Nazara/Noise/NoiseBase.hpp>
#include <initializer_list>
namespace Nz
{
class NAZARA_NOISE_API Simplex : public NoiseBase
{
public:
Simplex() = default;
Simplex(unsigned int seed);
~Simplex() = default;
float Get(float x, float y, float scale) const override;
float Get(float x, float y, float z, float scale) const override;
float Get(float x, float y, float z, float w, float scale) const override;
};
}
#endif // SIMPLEX_HPP