Tiled 2D Amortized Noise
A Program to Generate Infinite Grayscale Noise Textures with Amortized Noise
 All Classes Files Functions Variables Macros Pages
Macros
FiniteAmortizedNoise2D.cpp File Reference

Code file for the 2D amortized noise class CFiniteAmortizedNoise2D. More...

#include <math.h>
#include <stdlib.h>
#include "FiniteAmortizedNoise2D.h"

Macros

#define _USE_MATH_DEFINES
 Enable use of constant M_SQRT2 in math.h.
 
#define sqr(x)   ((x)*(x))
 Square function.