From a4a418a679f1ac760a8763edd856f0178cfc6dde Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 25 May 2012 07:18:52 +0000 Subject: Merged the composable_generator branch into the trunk git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cNoise.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/cNoise.h') diff --git a/source/cNoise.h b/source/cNoise.h index a0283fc8d..2169e0a13 100644 --- a/source/cNoise.h +++ b/source/cNoise.h @@ -37,6 +37,11 @@ public: __NOISE_INLINE__ float IntNoise2D( int a_X, int a_Y ) const; __NOISE_INLINE__ float IntNoise3D( int a_X, int a_Y, int a_Z ) const; + // Note: These functions have a mod8-irregular chance - each of the mod8 remainders has different chance of occurrence. Divide by 8 to rectify. + __NOISE_INLINE__ int IntNoise1DInt( int a_X ) const; + __NOISE_INLINE__ int IntNoise2DInt( int a_X, int a_Y ) const; + __NOISE_INLINE__ int IntNoise3DInt( int a_X, int a_Y, int a_Z ) const; + float LinearNoise1D( float a_X ) const; float CosineNoise1D( float a_X ) const; float CubicNoise1D( float a_X ) const; -- cgit v1.2.3