Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-05-08 16:59:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-08 16:59:35 +0400
commitf74201190dfe64b29f2b5f270ac2b3543066834d (patch)
tree8ce8f66a3452a66bca66b70b0010c8df6b8f53b9 /source/blender/modifiers/intern/MOD_weightvg_util.h
parente4aff350207a436a1814f2c91829004b3d287ff7 (diff)
code cleanup: remove references to BLI_rand.h
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvg_util.h')
-rw-r--r--source/blender/modifiers/intern/MOD_weightvg_util.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.h b/source/blender/modifiers/intern/MOD_weightvg_util.h
index c7509a937b6..afb77458d7c 100644
--- a/source/blender/modifiers/intern/MOD_weightvg_util.h
+++ b/source/blender/modifiers/intern/MOD_weightvg_util.h
@@ -28,20 +28,15 @@
* \ingroup modifiers
*/
-
#ifndef __MOD_WEIGHTVG_UTIL_H__
#define __MOD_WEIGHTVG_UTIL_H__
-#include "BLI_rand.h"
-
-/* so modifier types match their defines */
-#include "MOD_modifiertypes.h"
-
struct CurveMapping;
struct DerivedMesh;
struct Object;
struct Tex;
struct Scene;
+struct RNG;
/*
* XXX I'd like to make modified weights visible in WeightPaint mode,
@@ -67,7 +62,7 @@ struct Scene;
* vertex index (in case the weight tables do not cover the whole vertices...).
* cmap might be NULL, in which case curve mapping mode will return unmodified data.
*/
-void weightvg_do_map(int num, float *new_w, short mode, struct CurveMapping *cmap, RNG *rng);
+void weightvg_do_map(int num, float *new_w, short mode, struct CurveMapping *cmap, struct RNG *rng);
/* Applies new_w weights to org_w ones, using either a texture, vgroup or constant value as factor.
* Return values are in org_w.