diff options
author | Thomas Dinges <blender@dingto.org> | 2014-10-12 16:18:30 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-10-12 16:18:30 +0400 |
commit | 744aaa955f6b60e8eefb67145d15f1c42e708d2b (patch) | |
tree | f160609e4ce5a91171da78b8b76966aebe1983b6 /intern/cycles/render | |
parent | ee5936cf6bb9aa68f80e94ec5d8135cd66d08b70 (diff) |
Cleanup: Typo fix for Blackbody variable, had different naming in the comments and also in OSL.
Diffstat (limited to 'intern/cycles/render')
-rw-r--r-- | intern/cycles/render/blackbody.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/blackbody.cpp b/intern/cycles/render/blackbody.cpp index 89af714e8ec..6e2cb7c62b6 100644 --- a/intern/cycles/render/blackbody.cpp +++ b/intern/cycles/render/blackbody.cpp @@ -100,7 +100,7 @@ vector<float> blackbody_table() /* ToDo: bring this back to what OSL does with the lastTemperature limit ? */ for (int i = 0; i <= 317; ++i) { - double Temperature = pow((double)i, (double)BB_TABLE_XPOWER) * (double)BB_TABLE_SPACING + (double)BB_DRAPPER; + double Temperature = pow((double)i, (double)BB_TABLE_XPOWER) * (double)BB_TABLE_SPACING + (double)BB_DRAPER; X = 0; Y = 0; Z = 0; |