|
|
@ -22,14 +22,9 @@
|
|
|
|
#include "stream.h"
|
|
|
|
#include "stream.h"
|
|
|
|
#include "rgba.h"
|
|
|
|
#include "rgba.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace NLMISC
|
|
|
|
namespace NLMISC
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ***************************************************************************
|
|
|
|
// ***************************************************************************
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* A class which generate noisy value, according to a position
|
|
|
|
* A class which generate noisy value, according to a position
|
|
|
@ -77,7 +72,7 @@ private:
|
|
|
|
* \author Nevrax France
|
|
|
|
* \author Nevrax France
|
|
|
|
* \date 2001
|
|
|
|
* \date 2001
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class CNoiseColorGradient
|
|
|
|
class NLMISC_API CNoiseColorGradient
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
/// Abs and Rand should be 0 and 1 here. If not, some colors may not be generated...
|
|
|
|
/// Abs and Rand should be 0 and 1 here. If not, some colors may not be generated...
|
|
|
@ -96,10 +91,8 @@ public:
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // NL3D
|
|
|
|
} // NL3D
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // NL_NOISE_VALUE_H
|
|
|
|
#endif // NL_NOISE_VALUE_H
|
|
|
|
|
|
|
|
|
|
|
|
/* End of noise_value.h */
|
|
|
|
/* End of noise_value.h */
|
|
|
|