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>2021-02-05 08:23:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-05 08:23:34 +0300
commit17e1e2bfd8dfbd6f6fc42cc305e93393342020f7 (patch)
tree8a164422f7eb7d3aa9f7473c19c80da535c29a05 /source/blender/render/intern/texture_procedural.c
parentb62b923f544fa1df0aecd56f3568dd5185601306 (diff)
Cleanup: correct spelling in comments
Diffstat (limited to 'source/blender/render/intern/texture_procedural.c')
-rw-r--r--source/blender/render/intern/texture_procedural.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/texture_procedural.c b/source/blender/render/intern/texture_procedural.c
index a98f29a705d..b0ab20de10d 100644
--- a/source/blender/render/intern/texture_procedural.c
+++ b/source/blender/render/intern/texture_procedural.c
@@ -77,7 +77,7 @@ void RE_texture_rng_exit(void)
/* ------------------------------------------------------------------------- */
-/* this allows colorbanded textures to control normals as well */
+/* This allows color-banded textures to control normals as well. */
static void tex_normal_derivate(const Tex *tex, TexResult *texres)
{
if (tex->flag & TEX_COLORBAND) {
@@ -167,7 +167,7 @@ static int blend(const Tex *tex, const float texvec[3], TexResult *texres)
/* ------------------------------------------------------------------------- */
/* ************************************************************************* */
-/* newnoise: all noisebased types now have different noisebases to choose from */
+/* newnoise: all noise-based types now have different noise-bases to choose from. */
static int clouds(const Tex *tex, const float texvec[3], TexResult *texres)
{
@@ -1059,7 +1059,7 @@ static void do_2d_mapping(
dyt[2] *= 0.5f;
}
- /* if area, then reacalculate dxt[] and dyt[] */
+ /* If area, then recalculate `dxt[]` and `dyt[]` */
if (areaflag) {
fx = area[0];
fy = area[1];