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-07-02 05:11:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-02 05:15:29 +0300
commitaddb1a5c9a91c3b4428a8d0548815632fa608e36 (patch)
tree985751aa3735e8b12d1cfc4e06b5ba4c6c567776 /source/blender/blenkernel/intern/mesh_normals.c
parentb39d66adde52eb72bd93c2ecd75135fdfc9ca05b (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_normals.c')
-rw-r--r--source/blender/blenkernel/intern/mesh_normals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh_normals.c b/source/blender/blenkernel/intern/mesh_normals.c
index 9f09ce46e11..a268f814cd0 100644
--- a/source/blender/blenkernel/intern/mesh_normals.c
+++ b/source/blender/blenkernel/intern/mesh_normals.c
@@ -688,8 +688,8 @@ void BKE_lnor_space_custom_data_to_normal(MLoopNorSpace *lnor_space,
}
{
- /* TODO Check whether using sincosf() gives any noticeable benefit
- * (could not even get it working under linux though)! */
+ /* TODO: Check whether using #sincosf() gives any noticeable benefit
+ * (could not even get it working under linux though)! */
const float pi2 = (float)(M_PI * 2.0);
const float alphafac = unit_short_to_float(clnor_data[0]);
const float alpha = (alphafac > 0.0f ? lnor_space->ref_alpha : pi2 - lnor_space->ref_alpha) *