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-13 09:44:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-13 09:44:51 +0300
commitfea335fe8bd01675243953e41f59f156e44f1e94 (patch)
tree7d14301caa35270b4a3077340f4a33814d683d12 /source/blender/blenkernel/BKE_cloth.h
parent474947c465d5c78b548669795095663b4970b718 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel/BKE_cloth.h')
-rw-r--r--source/blender/blenkernel/BKE_cloth.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h
index e9267955d70..04fcdd6ed6f 100644
--- a/source/blender/blenkernel/BKE_cloth.h
+++ b/source/blender/blenkernel/BKE_cloth.h
@@ -131,13 +131,13 @@ typedef struct ClothVertex {
* The definition of a spring.
*/
typedef struct ClothSpring {
- int ij; /* Pij from the paper, one end of the spring. */
- int kl; /* Pkl from the paper, one end of the spring. */
+ int ij; /* `Pij` from the paper, one end of the spring. */
+ int kl; /* `Pkl` from the paper, one end of the spring. */
int mn; /* For hair springs: third vertex index; For bending springs: edge index; */
int *pa; /* Array of vert indices for poly a (for bending springs). */
int *pb; /* Array of vert indices for poly b (for bending springs). */
- int la; /* Length of *pa. */
- int lb; /* Length of *pb. */
+ int la; /* Length of `*pa`. */
+ int lb; /* Length of `*pb`. */
float restlen; /* The original length of the spring. */
float restang; /* The original angle of the bending springs. */
int type; /* Types defined in BKE_cloth.h ("springType"). */
@@ -208,7 +208,7 @@ typedef enum {
/* SPRING FLAGS */
typedef enum {
CLOTH_SPRING_FLAG_DEACTIVATE = (1 << 1),
- CLOTH_SPRING_FLAG_NEEDED = (1 << 2), // springs has values to be applied
+ CLOTH_SPRING_FLAG_NEEDED = (1 << 2), /* Springs has values to be applied. */
} CLOTH_SPRINGS_FLAGS;
/////////////////////////////////////////////////