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:
Diffstat (limited to 'source/blender/makesdna/DNA_world_types.h')
-rw-r--r--source/blender/makesdna/DNA_world_types.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h
index 91e205e4038..fd367369bd5 100644
--- a/source/blender/makesdna/DNA_world_types.h
+++ b/source/blender/makesdna/DNA_world_types.h
@@ -56,8 +56,13 @@ typedef struct World {
float ambr, ambg, ambb, ambk;
unsigned int fastcol;
-
- float exposure;
+
+ /**
+ * New exposure/range control. linfac & logfac are constants... don't belong in
+ * file, but allocating 8 bytes for temp mem isnt useful either.
+ */
+ float exposure, range;
+ float linfac, logfac;
/**
* Gravitation constant for the game world
@@ -87,7 +92,6 @@ typedef struct World {
short dofsta, dofend, dofmin, dofmax;
- int pad1;
struct Ipo *ipo;
struct MTex *mtex[8];