diff options
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 20 |
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), }; |