pouët.net

Go to bottom

Breakpoint infiltration?!

category: general [glöplog]
 
I liked the old rasmus better..
added on the 2006-05-02 08:57:23 by Gargaj Gargaj
You comment your code? :O
added on the 2006-05-02 10:13:50 by Preacher Preacher
comments are for wussies!!
added on the 2006-05-02 10:38:16 by Zest Zest
No, comments are so that you can go through your code months later and know what it does within less than a second.
But that's a shitload of comments.
added on the 2006-05-02 10:46:34 by noouch noouch
this is how you should comment your code!
added on the 2006-05-02 11:37:29 by Spin Spin
Awesome.
added on the 2006-05-02 11:49:36 by bdk bdk
it all depends on the pay check
Code: // change abs to -abs to switch fog from white to black float fogFactor = exp2(abs(IN.fog)); // joo taikuutta saatana jänis älä koske tai hajoo float alpha = 1-exp2(-abs(IN.fog*0.35)); /* float dist = distance(IN.itpos.xyz, light1); if (dist < 1) alpha += 0.5;*/ OUT.color0 = float4(fogFactor*color, alpha);
added on the 2006-05-09 16:25:52 by Preacher Preacher

login

Go to top