From 3d61e01f6288bf0be551012fa80500736e38e664 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 24 May 2012 21:25:18 +1000 Subject: [PATCH] Default initialise all values in base fractal --- noise/fractal.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/noise/fractal.cpp b/noise/fractal.cpp index 910b7c2a..2d55aa46 100644 --- a/noise/fractal.cpp +++ b/noise/fractal.cpp @@ -34,8 +34,11 @@ util::noise::fractal::fractal (unsigned _octaves, { ; } -util::noise::fractal::fractal () -{ ;} +util::noise::fractal::fractal (): + octaves (1), + frequency (0.1), + lacunarity (0.6) +{ ; } util::noise::fractal::~fractal ()