diff --git a/.gitignore b/.gitignore
index 0ad1d9f..8ba7450 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+# Binaries
+build/
# Generated cmake files
CMakeFiles/
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff16bab..70efeb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,12 +1,14 @@
# http://www.linux-magazin.de/Heft-Abo/Ausgaben/2007/02/Mal-ausspannen
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.0)
SET ( LIBNOISE_VERSION "1.0.0-cmake" )
OPTION(BUILD_LIBNOISE_DOCUMENTATION "Create doxygen documentation for developers" OFF)
ADD_SUBDIRECTORY(src)
+ADD_SUBDIRECTORY(noiseutils)
+ADD_SUBDIRECTORY(examples)
ADD_SUBDIRECTORY(doc)
#ADD_SUBDIRECTORY(samples)
diff --git a/README.md b/README.md
index 8a70db5..cbc871e 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,11 @@
+> My personal fork was to use this alongside a native plugin for the Unity game engine. It is still licensed under the LGPL as before. Primarily, I made some modifications to allow compiling to a Windows x64 DLL.
+
libnoise
========
+This is a fork of libnoise which includes noiseutils in the building and installing process.
+It also contains FindLibNoise.cmake
+
> This is a fork of libnoise which changes the build system from static Makefiles to cmake.
A portable, open-source, coherent noise-generating library for C++
@@ -47,6 +52,10 @@ see examples for details but in general:
1. you need to supply the library `-lnoise` to the linker
2. the includes to the compile with `-I /usr/include/noise`
+OR
+
+Use provided FindLibNoise.cmake
+
A comment on performance
------------------------
diff --git a/cmake/Modules/FindLibNoise.cmake b/cmake/Modules/FindLibNoise.cmake
new file mode 100755
index 0000000..ab0230d
--- /dev/null
+++ b/cmake/Modules/FindLibNoise.cmake
@@ -0,0 +1,69 @@
+# Locate libnoise.
+# This module defines
+# LIBNOISE_LIBRARIES
+# LIBNOISE_FOUND, if false, do not try to link to libnoise
+# LIBNOISE_INCLUDE_DIR, where to find the headers
+
+FIND_PATH(LIBNOISE_INCLUDE_DIR noise.h
+ $ENV{LIBNOISE_DIR}
+ NO_DEFAULT_PATH
+ PATH_SUFFIXES include
+)
+
+FIND_PATH(LIBNOISE_INCLUDE_DIR "noise.h"
+ PATHS
+ ${CMAKE_SOURCE_DIR}/include
+ ~/Library/Frameworks/noise/Headers
+ /Library/Frameworks/noise/Headers
+ /usr/local/include/noise
+ /usr/local/include/noise
+ /usr/local/include
+ /usr/include/noise
+ /usr/include/noise
+ /usr/include
+ /sw/include/noise
+ /sw/include/noise
+ /sw/include # Fink
+ /opt/local/include/noise
+ /opt/local/include/noise
+ /opt/local/include # DarwinPorts
+ /opt/csw/include/noise
+ /opt/csw/include/noise
+ /opt/csw/include # Blastwave
+ /opt/include/noise
+ /opt/include/noise
+ /opt/include
+ PATH_SUFFIXES noise
+)
+
+FIND_LIBRARY(LIBNOISE_LIBRARIES
+ NAMES libnoise noise libnoiseutils noiseutils
+ PATHS
+ $ENV{LIBNOISE_DIR}
+ NO_DEFAULT_PATH
+ PATH_SUFFIXES lib64 lib so
+)
+
+FIND_LIBRARY(LIBNOISE_LIBRARIES
+ NAMES libnoise noise libnoiseutils noiseutils
+ PATHS
+ ${CMAKE_SOURCE_DIR}/lib
+ ~/Library/Frameworks
+ /Library/Frameworks
+ /usr/local
+ /usr
+ /sw
+ /opt/local
+ /opt/csw
+ /opt
+ /usr/freeware
+ PATH_SUFFIXES lib64 lib so
+)
+
+message("LIBNOISE_INCLUDE_DIR: ${LIBNOISE_INCLUDE_DIR}")
+
+SET(LIBNOISE_FOUND "NO")
+IF(LIBNOISE_LIBRARY AND LIBNOISE_INCLUDE_DIR)
+ SET(LIBNOISE_FOUND "YES")
+ENDIF(LIBNOISE_LIBRARY AND LIBNOISE_INCLUDE_DIR)
+
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 0000000..8b0fd68
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,6 @@
+SET(PROJECT_NAME examples)
+
+add_executable(complexplanet complexplanet.cpp)
+ADD_DEFINITIONS( "-I${PROJECT_SOURCE_DIR}/src" )
+ADD_DEFINITIONS( "-I${PROJECT_SOURCE_DIR}/noiseutils" )
+target_link_libraries(complexplanet noiseutils-static noise-static)
diff --git a/noiseutils/CMakeLists.txt b/noiseutils/CMakeLists.txt
new file mode 100644
index 0000000..fdbd336
--- /dev/null
+++ b/noiseutils/CMakeLists.txt
@@ -0,0 +1,26 @@
+SET(PROJECT_NAME libnoiseutils)
+
+add_library(noiseutils SHARED noiseutils.cpp )
+add_library(noiseutils-static STATIC noiseutils.cpp )
+
+SET_TARGET_PROPERTIES( noiseutils PROPERTIES LIBNOISE_VERSION ${LIBNOISE_VERSION} )
+SET_TARGET_PROPERTIES( noiseutils-static PROPERTIES LIBNOISE_VERSION ${LIBNOISE_VERSION} )
+
+target_link_libraries(noiseutils noise)
+target_link_libraries(noiseutils-static noise-static)
+
+# I would like to see more projects using these defaults
+if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
+ ADD_DEFINITIONS( "-Wall -ansi -pedantic -O3" )
+endif()
+
+# Where to look for noise headers
+ADD_DEFINITIONS( "-I${PROJECT_SOURCE_DIR}/src" )
+
+# install include files into /usr/include
+INSTALL( FILES "${PROJECT_SOURCE_DIR}/noiseutils/noiseutils.h" DESTINATION
+ "${CMAKE_INSTALL_PREFIX}/include/noise" )
+
+# install libraries into /lib
+INSTALL( TARGETS noiseutils DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" )
+INSTALL( TARGETS noiseutils-static DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" )
diff --git a/noiseutils/noiseutils.cpp b/noiseutils/noiseutils.cpp
index 69e63a5..08a3ddf 100644
--- a/noiseutils/noiseutils.cpp
+++ b/noiseutils/noiseutils.cpp
@@ -958,7 +958,7 @@ RendererImage::RendererImage ():
m_recalcLightValues (true)
{
BuildGrayscaleGradient ();
-};
+}
void RendererImage::AddGradientPoint (double gradientPos,
const Color& gradientColor)
@@ -1211,7 +1211,7 @@ RendererNormalMap::RendererNormalMap ():
m_pDestImage (NULL),
m_pSourceNoiseMap (NULL)
{
-};
+}
Color RendererNormalMap::CalcNormalColor (double nc, double nr, double nu,
double bumpHeight) const
diff --git a/noiseutils/noiseutils.h b/noiseutils/noiseutils.h
index 340af79..cd24980 100644
--- a/noiseutils/noiseutils.h
+++ b/noiseutils/noiseutils.h
@@ -130,7 +130,7 @@ namespace noise
/// @param a Value of the alpha (transparency) channel.
Color (noise::uint8 r, noise::uint8 g, noise::uint8 b,
noise::uint8 a):
- red (r), green (g), blue (b), alpha (a)
+ alpha (a), blue (b), green (g), red (r)
{
}
@@ -1212,8 +1212,8 @@ namespace noise
/// Constructor.
WriterTER ():
- m_pSourceNoiseMap (NULL),
- m_metersPerPoint (DEFAULT_METERS_PER_POINT)
+ m_metersPerPoint (DEFAULT_METERS_PER_POINT),
+ m_pSourceNoiseMap (NULL)
{
}
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6aa2576..7ca06f4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -42,21 +42,29 @@ set(libSrcs ${libSrcs}
module/translatepoint.cpp
module/turbulence.cpp
module/voronoi.cpp
-
-# win32/dllmain.cpp
)
+IF (WIN32)
+add_library( noise SHARED ${libSrcs} win32/dllmain.cpp)
+ELSE()
add_library( noise SHARED ${libSrcs} )
+ENDIF()
+
add_library( noise-static STATIC ${libSrcs} )
# this value is set in the root CMakeLists.txt
SET_TARGET_PROPERTIES( noise PROPERTIES LIBNOISE_VERSION ${LIBNOISE_VERSION} )
SET_TARGET_PROPERTIES( noise-static PROPERTIES LIBNOISE_VERSION ${LIBNOISE_VERSION} )
+target_compile_definitions( noise PRIVATE NOISE_BUILD_DLL)
+target_compile_definitions( noise-static PUBLIC NOISE_STATIC)
+
SET_TARGET_PROPERTIES( noise-static PROPERTIES OUTPUT_NAME "noise" )
# i would like to see more projects using these defaults
-ADD_DEFINITIONS( "-Wall -ansi -pedantic -O3" )
+if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
+ ADD_DEFINITIONS( "-Wall -ansi -pedantic -O3" )
+endif()
# install include files into /usr/include
INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/src/noise" DESTINATION
diff --git a/src/noise/model/cylinder.h b/src/noise/model/cylinder.h
index 627abb3..7c718ef 100644
--- a/src/noise/model/cylinder.h
+++ b/src/noise/model/cylinder.h
@@ -56,7 +56,7 @@ namespace noise
///
/// This cylinder has a radius of 1.0 unit and has infinite height. It is
/// oriented along the @a y axis. Its center is located at the origin.
- class Cylinder
+ class NOISE_EXPORT Cylinder
{
public:
diff --git a/src/noise/model/line.h b/src/noise/model/line.h
index cf3a808..a330d90 100644
--- a/src/noise/model/line.h
+++ b/src/noise/model/line.h
@@ -50,7 +50,7 @@ namespace noise
/// To generate an output value, pass an input value between 0.0 and 1.0
/// to the GetValue() method. 0.0 represents the start position of the
/// line segment and 1.0 represents the end position of the line segment.
- class Line
+ class NOISE_EXPORT Line
{
public:
diff --git a/src/noise/model/plane.h b/src/noise/model/plane.h
index fe08f9b..1b13c3f 100644
--- a/src/noise/model/plane.h
+++ b/src/noise/model/plane.h
@@ -50,7 +50,7 @@ namespace noise
/// - terrain height maps for local areas
///
/// This plane extends infinitely in both directions.
- class Plane
+ class NOISE_EXPORT Plane
{
public:
diff --git a/src/noise/model/sphere.h b/src/noise/model/sphere.h
index 63a2a51..ce14549 100644
--- a/src/noise/model/sphere.h
+++ b/src/noise/model/sphere.h
@@ -54,7 +54,7 @@ namespace noise
///
/// This sphere has a radius of 1.0 unit and its center is located at
/// the origin.
- class Sphere
+ class NOISE_EXPORT Sphere
{
public:
diff --git a/src/noise/module/abs.h b/src/noise/module/abs.h
index 7efba39..8dbeca2 100644
--- a/src/noise/module/abs.h
+++ b/src/noise/module/abs.h
@@ -46,7 +46,7 @@ namespace noise
/// @image html moduleabs.png
///
/// This noise module requires one source module.
- class Abs: public Module
+ class NOISE_EXPORT Abs: public Module
{
public:
diff --git a/src/noise/module/add.h b/src/noise/module/add.h
index a7a2de6..d561d6e 100644
--- a/src/noise/module/add.h
+++ b/src/noise/module/add.h
@@ -47,7 +47,7 @@ namespace noise
/// @image html moduleadd.png
///
/// This noise module requires two source modules.
- class Add: public Module
+ class NOISE_EXPORT Add: public Module
{
public:
diff --git a/src/noise/module/billow.h b/src/noise/module/billow.h
index f9ef092..c238057 100644
--- a/src/noise/module/billow.h
+++ b/src/noise/module/billow.h
@@ -75,7 +75,7 @@ namespace noise
/// this noise module modifies each octave with an absolute-value
/// function. See the documentation of noise::module::Perlin for more
/// information.
- class Billow: public Module
+ class NOISE_EXPORT Billow : public Module
{
public:
diff --git a/src/noise/module/blend.h b/src/noise/module/blend.h
index 9d23c11..440c107 100644
--- a/src/noise/module/blend.h
+++ b/src/noise/module/blend.h
@@ -67,7 +67,7 @@ namespace noise
/// operation.
///
/// This noise module requires three source modules.
- class Blend: public Module
+ class NOISE_EXPORT Blend: public Module
{
public:
diff --git a/src/noise/module/cache.h b/src/noise/module/cache.h
index 7d4d1ba..7520912 100644
--- a/src/noise/module/cache.h
+++ b/src/noise/module/cache.h
@@ -64,7 +64,7 @@ namespace noise
/// noise module in which it is included.
///
/// This noise module requires one source module.
- class Cache: public Module
+ class NOISE_EXPORT Cache: public Module
{
public:
diff --git a/src/noise/module/checkerboard.h b/src/noise/module/checkerboard.h
index fcd663c..e3c40a0 100644
--- a/src/noise/module/checkerboard.h
+++ b/src/noise/module/checkerboard.h
@@ -51,7 +51,7 @@ namespace noise
/// for debugging purposes.
///
/// This noise module does not require any source modules.
- class Checkerboard: public Module
+ class NOISE_EXPORT Checkerboard: public Module
{
public:
diff --git a/src/noise/module/clamp.h b/src/noise/module/clamp.h
index 15ea822..a0a8574 100644
--- a/src/noise/module/clamp.h
+++ b/src/noise/module/clamp.h
@@ -66,7 +66,7 @@ namespace noise
/// SetBounds() method.
///
/// This noise module requires one source module.
- class Clamp: public Module
+ class NOISE_EXPORT Clamp : public Module
{
public:
diff --git a/src/noise/module/const.h b/src/noise/module/const.h
index ffc64d9..33cad7c 100644
--- a/src/noise/module/const.h
+++ b/src/noise/module/const.h
@@ -54,7 +54,7 @@ namespace noise
/// source module for other noise modules.
///
/// This noise module does not require any source modules.
- class Const: public Module
+ class NOISE_EXPORT Const : public Module
{
public:
diff --git a/src/noise/module/curve.h b/src/noise/module/curve.h
index dabf49b..0c221b9 100644
--- a/src/noise/module/curve.h
+++ b/src/noise/module/curve.h
@@ -78,7 +78,7 @@ namespace noise
/// added to the curve.
///
/// This noise module requires one source module.
- class Curve: public Module
+ class NOISE_EXPORT Curve : public Module
{
public:
diff --git a/src/noise/module/cylinders.h b/src/noise/module/cylinders.h
index e290dc6..aeb1447 100644
--- a/src/noise/module/cylinders.h
+++ b/src/noise/module/cylinders.h
@@ -69,7 +69,7 @@ namespace noise
/// turbulence, is useful for generating wood-like textures.
///
/// This noise module does not require any source modules.
- class Cylinders: public Module
+ class NOISE_EXPORT Cylinders : public Module
{
public:
diff --git a/src/noise/module/displace.h b/src/noise/module/displace.h
index 97f610a..6bc3c74 100644
--- a/src/noise/module/displace.h
+++ b/src/noise/module/displace.h
@@ -66,7 +66,7 @@ namespace noise
/// that perform the displacement operation.
///
/// This noise module requires four source modules.
- class Displace: public Module
+ class NOISE_EXPORT Displace: public Module
{
public:
diff --git a/src/noise/module/exponent.h b/src/noise/module/exponent.h
index a87eb3f..e97539d 100644
--- a/src/noise/module/exponent.h
+++ b/src/noise/module/exponent.h
@@ -54,7 +54,7 @@ namespace noise
/// rescales that value back to the original range.
///
/// This noise module requires one source module.
- class Exponent: public Module
+ class NOISE_EXPORT Exponent : public Module
{
public:
diff --git a/src/noise/module/invert.h b/src/noise/module/invert.h
index 994dccf..560f2c6 100644
--- a/src/noise/module/invert.h
+++ b/src/noise/module/invert.h
@@ -45,7 +45,7 @@ namespace noise
/// @image html moduleinvert.png
///
/// This noise module requires one source module.
- class Invert: public Module
+ class NOISE_EXPORT Invert: public Module
{
public:
diff --git a/src/noise/module/max.h b/src/noise/module/max.h
index 87b854e..48e66a8 100644
--- a/src/noise/module/max.h
+++ b/src/noise/module/max.h
@@ -46,7 +46,7 @@ namespace noise
/// @image html modulemax.png
///
/// This noise module requires two source modules.
- class Max: public Module
+ class NOISE_EXPORT Max: public Module
{
public:
diff --git a/src/noise/module/min.h b/src/noise/module/min.h
index 76de943..9b907e1 100644
--- a/src/noise/module/min.h
+++ b/src/noise/module/min.h
@@ -46,7 +46,7 @@ namespace noise
/// @image html modulemin.png
///
/// This noise module requires two source modules.
- class Min: public Module
+ class NOISE_EXPORT Min: public Module
{
public:
diff --git a/src/noise/module/modulebase.h b/src/noise/module/modulebase.h
index 913945e..be8af30 100644
--- a/src/noise/module/modulebase.h
+++ b/src/noise/module/modulebase.h
@@ -30,6 +30,18 @@
#include "../exception.h"
#include "../noisegen.h"
+#ifdef _WIN32
+# if NOISE_STATIC
+# define NOISE_EXPORT
+# elif NOISE_BUILD_DLL
+# define NOISE_EXPORT __declspec(dllexport)
+# else
+# define NOISE_EXPORT __declspec(dllimport)
+# endif
+#else
+#define NOISE_EXPORT
+#endif
+
namespace noise
{
@@ -220,7 +232,7 @@ namespace noise
/// It shouldn't be too difficult to create your own noise module. If you
/// still have some problems, take a look at the source code for
/// noise::module::Add, which is a very simple noise module.
- class Module
+ class NOISE_EXPORT Module
{
public:
diff --git a/src/noise/module/multiply.h b/src/noise/module/multiply.h
index e15a92d..faead7e 100644
--- a/src/noise/module/multiply.h
+++ b/src/noise/module/multiply.h
@@ -46,7 +46,7 @@ namespace noise
/// @image html modulemultiply.png
///
/// This noise module requires two source modules.
- class Multiply: public Module
+ class NOISE_EXPORT Multiply: public Module
{
public:
diff --git a/src/noise/module/perlin.h b/src/noise/module/perlin.h
index 043c073..95621e5 100644
--- a/src/noise/module/perlin.h
+++ b/src/noise/module/perlin.h
@@ -157,7 +157,7 @@ namespace noise
/// better coherent-noise function called gradient noise. This
/// version of noise::module::Perlin uses gradient coherent noise to
/// generate Perlin noise.
- class Perlin: public Module
+ class NOISE_EXPORT Perlin : public Module
{
public:
diff --git a/src/noise/module/power.h b/src/noise/module/power.h
index 1b74111..a1b37f6 100644
--- a/src/noise/module/power.h
+++ b/src/noise/module/power.h
@@ -50,7 +50,7 @@ namespace noise
/// The second source module must have an index value of 1.
///
/// This noise module requires two source modules.
- class Power: public Module
+ class NOISE_EXPORT Power: public Module
{
public:
diff --git a/src/noise/module/ridgedmulti.h b/src/noise/module/ridgedmulti.h
index 99617f9..477e631 100644
--- a/src/noise/module/ridgedmulti.h
+++ b/src/noise/module/ridgedmulti.h
@@ -125,7 +125,7 @@ namespace noise
/// MojoWorld. He is also one of
/// the authors in Texturing and Modeling: A Procedural Approach
/// (Morgan Kaufmann, 2002. ISBN 1-55860-848-6.)
- class RidgedMulti: public Module
+ class NOISE_EXPORT RidgedMulti : public Module
{
public:
diff --git a/src/noise/module/rotatepoint.h b/src/noise/module/rotatepoint.h
index 34c8830..92794c1 100644
--- a/src/noise/module/rotatepoint.h
+++ b/src/noise/module/rotatepoint.h
@@ -69,7 +69,7 @@ namespace noise
/// and @a z increases inward.)
///
/// This noise module requires one source module.
- class RotatePoint: public Module
+ class NOISE_EXPORT RotatePoint : public Module
{
public:
diff --git a/src/noise/module/scalebias.h b/src/noise/module/scalebias.h
index 419efca..c79a8de 100644
--- a/src/noise/module/scalebias.h
+++ b/src/noise/module/scalebias.h
@@ -56,7 +56,7 @@ namespace noise
/// outputs the value.
///
/// This noise module requires one source module.
- class ScaleBias: public Module
+ class NOISE_EXPORT ScaleBias : public Module
{
public:
diff --git a/src/noise/module/scalepoint.h b/src/noise/module/scalepoint.h
index cd11956..1fa8635 100644
--- a/src/noise/module/scalepoint.h
+++ b/src/noise/module/scalepoint.h
@@ -65,7 +65,7 @@ namespace noise
/// SetYScale() or SetZScale() methods, respectively.
///
/// This noise module requires one source module.
- class ScalePoint: public Module
+ class NOISE_EXPORT ScalePoint : public Module
{
public:
diff --git a/src/noise/module/select.h b/src/noise/module/select.h
index 4e1dbd3..2596212 100644
--- a/src/noise/module/select.h
+++ b/src/noise/module/select.h
@@ -81,7 +81,7 @@ namespace noise
/// method. Higher values result in a smoother transition.
///
/// This noise module requires three source modules.
- class Select: public Module
+ class NOISE_EXPORT Select : public Module
{
public:
diff --git a/src/noise/module/spheres.h b/src/noise/module/spheres.h
index 059ac6c..5802288 100644
--- a/src/noise/module/spheres.h
+++ b/src/noise/module/spheres.h
@@ -67,7 +67,7 @@ namespace noise
/// turbulence, is useful for generating agate-like textures.
///
/// This noise module does not require any source modules.
- class Spheres: public Module
+ class NOISE_EXPORT Spheres : public Module
{
public:
diff --git a/src/noise/module/terrace.h b/src/noise/module/terrace.h
index c1f665a..8647b65 100644
--- a/src/noise/module/terrace.h
+++ b/src/noise/module/terrace.h
@@ -70,7 +70,7 @@ namespace noise
/// your stereotypical desert canyon.
///
/// This noise module requires one source module.
- class Terrace: public Module
+ class NOISE_EXPORT Terrace: public Module
{
public:
diff --git a/src/noise/module/translatepoint.h b/src/noise/module/translatepoint.h
index 46adac4..74792a4 100644
--- a/src/noise/module/translatepoint.h
+++ b/src/noise/module/translatepoint.h
@@ -66,7 +66,7 @@ namespace noise
/// respectively.
///
/// This noise module requires one source module.
- class TranslatePoint: public Module
+ class NOISE_EXPORT TranslatePoint : public Module
{
public:
diff --git a/src/noise/module/turbulence.h b/src/noise/module/turbulence.h
index 1561561..b603ce2 100644
--- a/src/noise/module/turbulence.h
+++ b/src/noise/module/turbulence.h
@@ -110,7 +110,7 @@ namespace noise
/// and one for the @a z coordinate.
///
/// This noise module requires one source module.
- class Turbulence: public Module
+ class NOISE_EXPORT Turbulence : public Module
{
public:
diff --git a/src/noise/module/voronoi.h b/src/noise/module/voronoi.h
index 16a8783..bc522dc 100644
--- a/src/noise/module/voronoi.h
+++ b/src/noise/module/voronoi.h
@@ -87,7 +87,7 @@ namespace noise
/// formations or crystal-like textures
///
/// This noise module requires no source modules.
- class Voronoi: public Module
+ class NOISE_EXPORT Voronoi : public Module
{
public:
diff --git a/src/win32/libnoise.def b/src/win32/libnoise.def
deleted file mode 100644
index 4028a88..0000000
--- a/src/win32/libnoise.def
+++ /dev/null
@@ -1,154 +0,0 @@
-LIBRARY libnoise
-
-EXPORTS
- ?LatLonToXYZ@noise@@YAXNNAAN00@Z @ 1
- ?GradientNoise3D@noise@@YANNNNHHHH@Z @ 2
- ?IntValueNoise3D@noise@@YAHHHHH@Z @ 3
- ?ValueNoise3D@noise@@YANHHHH@Z @ 6
- ??0Add@module@noise@@QAE@XZ @ 9
- ?GetValue@Add@module@noise@@UBENNNN@Z @ 10
- ?GetSourceModule@Module@module@noise@@UBEABV123@H@Z @ 11
- ?SetSourceModule@Module@module@noise@@UAEXHABV123@@Z @ 12
- ?GetSourceModuleCount@Add@module@noise@@UBEHXZ @ 13
- ??0Blend@module@noise@@QAE@XZ @ 14
- ?GetValue@Blend@module@noise@@UBENNNN@Z @ 15
- ?GetSourceModuleCount@Blend@module@noise@@UBEHXZ @ 16
- ??0Cache@module@noise@@QAE@XZ @ 17
- ?GetValue@Cache@module@noise@@UBENNNN@Z @ 18
- ?GetSourceModuleCount@Cache@module@noise@@UBEHXZ @ 19
- ?SetSourceModule@Cache@module@noise@@UAEXHABVModule@23@@Z @ 20
- ??0Checkerboard@module@noise@@QAE@XZ @ 21
- ?GetValue@Checkerboard@module@noise@@UBENNNN@Z @ 22
- ?GetSourceModuleCount@Checkerboard@module@noise@@UBEHXZ @ 24
- ??0Clamp@module@noise@@QAE@XZ @ 25
- ?GetValue@Clamp@module@noise@@UBENNNN@Z @ 26
- ?SetBounds@Clamp@module@noise@@QAEXNN@Z @ 27
- ?GetSourceModuleCount@Clamp@module@noise@@UBEHXZ @ 28
- ??0Const@module@noise@@QAE@XZ @ 29
- ?GetSourceModuleCount@Const@module@noise@@UBEHXZ @ 30
- ?GetValue@Const@module@noise@@UBENNNN@Z @ 31
- ??0Curve@module@noise@@QAE@XZ @ 32
- ?AddControlPoint@Curve@module@noise@@QAEXNN@Z @ 34
- ?ClearAllControlPoints@Curve@module@noise@@QAEXXZ @ 35
- ?FindInsertionPos@Curve@module@noise@@IAEHN@Z @ 36
- ?GetValue@Curve@module@noise@@UBENNNN@Z @ 37
- ?InsertAtPos@Curve@module@noise@@IAEXHNN@Z @ 38
- ?GetSourceModuleCount@Curve@module@noise@@UBEHXZ @ 42
- ??0Cylinders@module@noise@@QAE@XZ @ 43
- ?GetValue@Cylinders@module@noise@@UBENNNN@Z @ 44
- ?GetSourceModuleCount@Cylinders@module@noise@@UBEHXZ @ 46
- ??0Displace@module@noise@@QAE@XZ @ 47
- ?GetValue@Displace@module@noise@@UBENNNN@Z @ 48
- ?GetSourceModuleCount@Displace@module@noise@@UBEHXZ @ 49
- ??0Exponent@module@noise@@QAE@XZ @ 50
- ?GetValue@Exponent@module@noise@@UBENNNN@Z @ 51
- ?GetSourceModuleCount@Exponent@module@noise@@UBEHXZ @ 52
- ??0Invert@module@noise@@QAE@XZ @ 53
- ?GetValue@Invert@module@noise@@UBENNNN@Z @ 54
- ?GetSourceModuleCount@Invert@module@noise@@UBEHXZ @ 55
- ??0Max@module@noise@@QAE@XZ @ 56
- ?GetValue@Max@module@noise@@UBENNNN@Z @ 57
- ?GetSourceModuleCount@Max@module@noise@@UBEHXZ @ 59
- ??0Min@module@noise@@QAE@XZ @ 60
- ?GetValue@Min@module@noise@@UBENNNN@Z @ 61
- ?GetSourceModuleCount@Min@module@noise@@UBEHXZ @ 62
- ??0Module@module@noise@@QAE@H@Z @ 63
- ??0Multiply@module@noise@@QAE@XZ @ 64
- ?GetValue@Multiply@module@noise@@UBENNNN@Z @ 65
- ?GetSourceModuleCount@Multiply@module@noise@@UBEHXZ @ 66
- ??0Perlin@module@noise@@QAE@XZ @ 67
- ?GetValue@Perlin@module@noise@@UBENNNN@Z @ 68
- ?GetSourceModuleCount@Perlin@module@noise@@UBEHXZ @ 69
- ??0Power@module@noise@@QAE@XZ @ 70
- ?GetValue@Power@module@noise@@UBENNNN@Z @ 71
- ?GetSourceModuleCount@Power@module@noise@@UBEHXZ @ 72
- ??0RidgedMulti@module@noise@@QAE@XZ @ 73
- ?GetValue@RidgedMulti@module@noise@@UBENNNN@Z @ 74
- ?GetSourceModuleCount@RidgedMulti@module@noise@@UBEHXZ @ 75
- ??0RotatePoint@module@noise@@QAE@XZ @ 76
- ?GetValue@RotatePoint@module@noise@@UBENNNN@Z @ 77
- ?SetAngles@RotatePoint@module@noise@@QAEXNNN@Z @ 78
- ?GetSourceModuleCount@RotatePoint@module@noise@@UBEHXZ @ 79
- ??0ScaleBias@module@noise@@QAE@XZ @ 80
- ?GetValue@ScaleBias@module@noise@@UBENNNN@Z @ 81
- ?GetSourceModuleCount@ScaleBias@module@noise@@UBEHXZ @ 82
- ??0ScalePoint@module@noise@@QAE@XZ @ 83
- ?GetValue@ScalePoint@module@noise@@UBENNNN@Z @ 84
- ?GetSourceModuleCount@ScalePoint@module@noise@@UBEHXZ @ 85
- ??0Select@module@noise@@QAE@XZ @ 86
- ?GetValue@Select@module@noise@@UBENNNN@Z @ 87
- ?SetBounds@Select@module@noise@@QAEXNN@Z @ 88
- ?SetEdgeFalloff@Select@module@noise@@QAEXN@Z @ 89
- ?GetSourceModuleCount@Select@module@noise@@UBEHXZ @ 90
- ??0Spheres@module@noise@@QAE@XZ @ 91
- ?GetValue@Spheres@module@noise@@UBENNNN@Z @ 92
- ?GetSourceModuleCount@Spheres@module@noise@@UBEHXZ @ 93
- ??0Terrace@module@noise@@QAE@XZ @ 94
- ?FindInsertionPos@Terrace@module@noise@@IAEHN@Z @ 98
- ?GetValue@Terrace@module@noise@@UBENNNN@Z @ 99
- ?InsertAtPos@Terrace@module@noise@@IAEXHN@Z @ 100
- ?GetSourceModuleCount@Terrace@module@noise@@UBEHXZ @ 103
- ??0Turbulence@module@noise@@QAE@XZ @ 104
- ?GetFrequency@Turbulence@module@noise@@QBENXZ @ 105
- ?GetSeed@Turbulence@module@noise@@QBEHXZ @ 106
- ?GetValue@Turbulence@module@noise@@UBENNNN@Z @ 107
- ?SetSeed@Turbulence@module@noise@@QAEXH@Z @ 109
- ?GetSourceModuleCount@Turbulence@module@noise@@UBEHXZ @ 115
- ??0Voronoi@module@noise@@QAE@XZ @ 116
- ?GetValue@Voronoi@module@noise@@UBENNNN@Z @ 117
- ?GetSourceModuleCount@Voronoi@module@noise@@UBEHXZ @ 118
- ??0Abs@module@noise@@QAE@XZ @ 119
- ?GetValue@Abs@module@noise@@UBENNNN@Z @ 120
- ?GetSourceModuleCount@Abs@module@noise@@UBEHXZ @ 121
- ??0Line@model@noise@@QAE@XZ @ 122
- ?GetValue@Line@model@noise@@QBENN@Z @ 123
- ??0Plane@model@noise@@QAE@XZ @ 124
- ?GetValue@Plane@model@noise@@QBENNN@Z @ 125
- ??0Sphere@model@noise@@QAE@XZ @ 126
- ?GetValue@Sphere@model@noise@@QBENNN@Z @ 127
- ??0Cylinder@model@noise@@QAE@XZ @ 128
- ?GetValue@Cylinder@model@noise@@QBENNN@Z @ 129
- ??_7Add@module@noise@@6B@ @ 130
- ??_7Blend@module@noise@@6B@ @ 131
- ??_7Cache@module@noise@@6B@ @ 132
- ??_7Checkerboard@module@noise@@6B@ @ 133
- ??_7Clamp@module@noise@@6B@ @ 134
- ??_7Const@module@noise@@6B@ @ 135
- ??_7Curve@module@noise@@6B@ @ 136
- ??_7Module@module@noise@@6B@ @ 137
- ??_7Cylinders@module@noise@@6B@ @ 138
- ??_7Displace@module@noise@@6B@ @ 139
- ??_7Exponent@module@noise@@6B@ @ 140
- ??_7Invert@module@noise@@6B@ @ 141
- ??_7Max@module@noise@@6B@ @ 142
- ??_7Min@module@noise@@6B@ @ 143
- ??_7Multiply@module@noise@@6B@ @ 144
- ??_7Perlin@module@noise@@6B@ @ 145
- ??_7Power@module@noise@@6B@ @ 146
- ??_7RidgedMulti@module@noise@@6B@ @ 147
- ??_7RotatePoint@module@noise@@6B@ @ 148
- ??_7ScaleBias@module@noise@@6B@ @ 149
- ??_7ScalePoint@module@noise@@6B@ @ 150
- ??_7Select@module@noise@@6B@ @ 151
- ??_7Spheres@module@noise@@6B@ @ 152
- ??_7Terrace@module@noise@@6B@ @ 153
- ??_7Turbulence@module@noise@@6B@ @ 154
- ??_7Voronoi@module@noise@@6B@ @ 155
- ??_7Abs@module@noise@@6B@ @ 156
- ??0Billow@module@noise@@QAE@XZ @ 159
- ?GetValue@Billow@module@noise@@UBENNNN@Z @ 160
- ?GetSourceModuleCount@Billow@module@noise@@UBEHXZ @ 161
- ??_7Billow@module@noise@@6B@ @ 163
- ?CalcSpectralWeights@RidgedMulti@module@noise@@IAEXXZ @ 164
- ??0TranslatePoint@module@noise@@QAE@XZ @ 166
- ?GetValue@TranslatePoint@module@noise@@UBENNNN@Z @ 167
- ?GetSourceModuleCount@TranslatePoint@module@noise@@UBEHXZ @ 168
- ??_7TranslatePoint@module@noise@@6B@ @ 169
- ?AddControlPoint@Terrace@module@noise@@QAEXN@Z @ 170
- ?ClearAllControlPoints@Terrace@module@noise@@QAEXXZ @ 171
- ?MakeControlPoints@Terrace@module@noise@@QAEXH@Z @ 172
- ?GradientCoherentNoise3D@noise@@YANNNNHW4NoiseQuality@1@@Z @ 173
- ?ValueCoherentNoise3D@noise@@YANNNNHW4NoiseQuality@1@@Z @ 174
- ??1Terrace@module@noise@@UAE@XZ @ 175
- ??1Curve@module@noise@@UAE@XZ @ 176
- ??1Module@module@noise@@UAE@XZ @ 177