diff options
author | Alfredo de Greef <eeshlo@yahoo.com> | 2004-01-27 09:23:33 +0300 |
---|---|---|
committer | Alfredo de Greef <eeshlo@yahoo.com> | 2004-01-27 09:23:33 +0300 |
commit | 898001a2b6263bce2b3a69d265e1283a36b52251 (patch) | |
tree | 624d12d0b190807e6a2428ca3d63e6521b87c5cc /source/blender/yafray | |
parent | e8aaea0b63c19c3defbf9fe48612a387ab05de9f (diff) |
As reported by Hiroshi Saito, M_1_PI apparently not recognized in VC6, removed it.
Diffstat (limited to 'source/blender/yafray')
-rwxr-xr-x | source/blender/yafray/intern/export_File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/yafray/intern/export_File.cpp b/source/blender/yafray/intern/export_File.cpp index 49d7b2a2539..3cd3b594bda 100755 --- a/source/blender/yafray/intern/export_File.cpp +++ b/source/blender/yafray/intern/export_File.cpp @@ -1046,7 +1046,7 @@ void yafrayFileRender_t::writeLamps() float pwr; if (lamp->mode & LA_SPHERE) { // best approx. as used in LFexport script (LF d.f.m. 4pi?) - pwr = lamp->dist*(lamp->dist+1)*0.25*M_1_PI; + pwr = lamp->dist*(lamp->dist+1)*(0.25/M_PI); //decay = 2; } else { |