diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-13 08:22:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-13 08:22:20 +0300 |
commit | 36c6b2e893b89f6b378f60fb975f73d47b248027 (patch) | |
tree | aad54a27e5150753bbcaba72d6ed388e9d72cf4b /source/blender/blenlib/intern/noise.cc | |
parent | 8ad2642c4717dcfad31626f7eebac325a9827b73 (diff) |
Cleanup: spelling in comments
Also move notes about where noise functions come from
into the function body as it's not relavant to the public doc-string.
Diffstat (limited to 'source/blender/blenlib/intern/noise.cc')
-rw-r--r-- | source/blender/blenlib/intern/noise.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/noise.cc b/source/blender/blenlib/intern/noise.cc index 56ff4feb42e..a6ad18801fd 100644 --- a/source/blender/blenlib/intern/noise.cc +++ b/source/blender/blenlib/intern/noise.cc @@ -768,6 +768,8 @@ float musgrave_fBm(const float co, const float lacunarity, const float octaves_unclamped) { + /* From "Texturing and Modelling: A procedural approach". */ + float p = co; float value = 0.0f; float pwr = 1.0f; @@ -917,6 +919,8 @@ float musgrave_fBm(const float2 co, const float lacunarity, const float octaves_unclamped) { + /* From "Texturing and Modelling: A procedural approach". */ + float2 p = co; float value = 0.0f; float pwr = 1.0f; @@ -1067,6 +1071,8 @@ float musgrave_fBm(const float3 co, const float lacunarity, const float octaves_unclamped) { + /* From "Texturing and Modelling: A procedural approach". */ + float3 p = co; float value = 0.0f; float pwr = 1.0f; @@ -1219,6 +1225,8 @@ float musgrave_fBm(const float4 co, const float lacunarity, const float octaves_unclamped) { + /* From "Texturing and Modelling: A procedural approach". */ + float4 p = co; float value = 0.0f; float pwr = 1.0f; |