View Single Post
Old 09-07-2009, 09:31 AM   #8 (permalink)
Registered User Shadow Daemon
User
 
Shadow Daemon's Avatar
 
Join Date: Nov 2008
Posts: 184
Shadow Daemon has disabled reputation
@ BlinkBoy: there's a small mistype:

Jass:
float LogB(float a, float b) {
    // should be Ln(a)/Ln(b);
    return Ln(a)/Ln(base);
}

and shouldn't be dot here:
Jass:
//                                here __ (1./a)
return sum + (a-1.)*(1. + 8./(1.+ a) + 1/a)/6.;
__________________
» Random favourite tune
» Button Manager v1.8.2
» BLP Laboratory v0.5.0
» "/quit Shadow_Daemon"
Statica - Sundown (Original Mix).
The solution for icon makers.
Advanced texture viewer & converter.
is not supported by kernel.
Shadow Daemon is offline   Reply With Quote