Tiled 3D Amortized Noise
A Program to Generate Infinite3D Grayscale Noise Textures with Amortized Noise
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Macros
Pages
Common.h
Go to the documentation of this file.
1
2
5
// This file is made available under the GNU All-Permissive License.
14
15
#pragma once
16
17
#define MurmurHash3_32 MurmurHash3_x86_32
18
19
#define B 0x100
20
#define BM 0xff
21
22
#define lerp(t, a, b) (a + t*(b - a))
23
#define s_curve(t) (t * t * (3.0f - 2.0f*t))
24
#define s_curve2(t) (t * t * t * (10.0f + 3.0f * t * (2.0f*t - 5.0f)))
Generated on Wed May 7 2014 19:41:09 for Tiled 3D Amortized Noise by
1.8.2