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:
authorJulian Eisel <julian@blender.org>2020-03-12 17:58:03 +0300
committerJulian Eisel <julian@blender.org>2020-03-12 17:58:03 +0300
commitb86be9b2145458037fd0b17433b7af0efa7b6472 (patch)
treef333625555402992ebb35d258f93eda1130389e6 /source/blender/makesdna/DNA_modifier_types.h
parent00f83ec125207e90bf180b3eb7752d8cb6482a86 (diff)
parentcb6cec904fa14ce0ab10a2a53af5c936d56376cf (diff)
Merge branch 'temp-openxr-ghostxr' into temp-openxr-blenderside
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index 042cf7e874f..13c5a0913c6 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -1255,6 +1255,19 @@ typedef struct OceanModifierData {
float foam_coverage;
float time;
+ char _pad1[4];
+
+ /* Spectrum being used. */
+ int spectrum;
+
+ /* Common JONSWAP parameters. */
+ /**
+ * This is the distance from a lee shore, called the fetch, or the distance
+ * over which the wind blows with constant velocity.
+ */
+ float fetch_jonswap;
+ float sharpen_peak_jonswap;
+
int bakestart;
int bakeend;
@@ -1287,6 +1300,13 @@ enum {
};
enum {
+ MOD_OCEAN_SPECTRUM_PHILLIPS = 0,
+ MOD_OCEAN_SPECTRUM_PIERSON_MOSKOWITZ = 1,
+ MOD_OCEAN_SPECTRUM_JONSWAP = 2,
+ MOD_OCEAN_SPECTRUM_TEXEL_MARSEN_ARSLOE = 3,
+};
+
+enum {
MOD_OCEAN_GENERATE_FOAM = (1 << 0),
MOD_OCEAN_GENERATE_NORMALS = (1 << 1),
};