diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-10-14 20:52:42 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-10-14 20:52:42 +0300 |
commit | 99d2c979a9bd4b38d618696c83cb02fd6d8083ae (patch) | |
tree | fab66f8a3bb0854c4403e3335b253357cf3fb54c /add_mesh_extra_objects | |
parent | a2e69343eb0893f4e4d404d20ba4c2f66d01f40a (diff) |
Cleanup: fix typos
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D16234
Diffstat (limited to 'add_mesh_extra_objects')
-rw-r--r-- | add_mesh_extra_objects/add_mesh_rocks/rockgen.py | 2 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_rocks/utils.py | 4 | ||||
-rw-r--r-- | add_mesh_extra_objects/add_mesh_supertoroid.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/add_mesh_extra_objects/add_mesh_rocks/rockgen.py b/add_mesh_extra_objects/add_mesh_rocks/rockgen.py index d0138787..8269e126 100644 --- a/add_mesh_extra_objects/add_mesh_rocks/rockgen.py +++ b/add_mesh_extra_objects/add_mesh_rocks/rockgen.py @@ -809,7 +809,7 @@ def generateRocks(context, scaleX, skewX, scaleY, skewY, scaleZ, skewZ, rocks = [] for i in range(numOfRocks): - # todo: enable different random values for each (x,y,z) corrdinate for + # todo: enable different random values for each (x,y,z) coordinate for # each vertex. This will add additional randomness to the shape of the # generated rocks. # *** todo completed 4/19/2011 *** diff --git a/add_mesh_extra_objects/add_mesh_rocks/utils.py b/add_mesh_extra_objects/add_mesh_rocks/utils.py index d41e87c5..46149ceb 100644 --- a/add_mesh_extra_objects/add_mesh_rocks/utils.py +++ b/add_mesh_extra_objects/add_mesh_rocks/utils.py @@ -76,7 +76,7 @@ except: # a continuous distribution curve but instead acts as a piecewise finction. # This linearly scales the output on one side to fit the bounds. # -# Example output historgrams: +# Example output histograms: # # Upper skewed: Lower skewed: # | ▄ | _ @@ -92,7 +92,7 @@ except: # | _▄_ ▄███████████████▄_ | _▄███████████████▄▄_ # ------------------------- ----------------------- # |mu |mu -# Historgrams were generated in R (http://www.r-project.org/) based on the +# Histograms were generated in R (http://www.r-project.org/) based on the # calculations below and manually duplicated here. # # param: mu - mu is the mean of the distribution. diff --git a/add_mesh_extra_objects/add_mesh_supertoroid.py b/add_mesh_extra_objects/add_mesh_supertoroid.py index e325cffc..68fdeb4d 100644 --- a/add_mesh_extra_objects/add_mesh_supertoroid.py +++ b/add_mesh_extra_objects/add_mesh_supertoroid.py @@ -99,7 +99,7 @@ def supertoroid(R, r, u, v, n1, n2): # x = (cos(theta) ** n1)*(R + r * (cos(phi) ** n2)) # y = (sin(theta) ** n1)*(R + r * (cos(phi) ** n2)) # z = (r * sin(phi) ** n2) - # with theta and phi rangeing from 0 to 2pi + # with theta and phi ranging from 0 to 2pi for i in range(u): s = power(sin(i * a), n1) |