diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-14 02:47:50 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-14 03:23:46 +0300 |
commit | cea588b9ef8f9bdb2729fb233d6f1ed0886700e1 (patch) | |
tree | fa0bfce1f026a4af40aaf72eecd6fde101d8b938 /source/blender/render | |
parent | 7a0cf2c72f58be31824f5c3b17844ba54797b594 (diff) |
Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/texture_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/texture_image.c b/source/blender/render/intern/texture_image.c index dfeaec2341e..6ded799b773 100644 --- a/source/blender/render/intern/texture_image.c +++ b/source/blender/render/intern/texture_image.c @@ -912,7 +912,7 @@ static void feline_eval(TexResult *texr, ImBuf *ibuf, float fx, float fy, afdata (maxn ? (float)maxn : 1.0f); float du = maxn ? cosf(AFD->theta) * ll : 0.0f; float dv = maxn ? sinf(AFD->theta) * ll : 0.0f; - /* const float D = -0.5f*(du*du + dv*dv) / (AFD->majrad*AFD->majrad); */ + // const float D = -0.5f*(du*du + dv*dv) / (AFD->majrad*AFD->majrad); const float D = (EWA_MAXIDX + 1) * 0.25f * (du * du + dv * dv) / (AFD->majrad * AFD->majrad); float d; /* TXF alpha: cw = 0.0f; */ int n; /* TXF alpha: clip = 0; */ |