pouët.net

Random line of code thread

category: code [glöplog]
Code:std::reverse(rev.begin(),rev.end()); //string-reverse generated token names to create a more even distribution of the first char, making the amd compiler not trip over its own feet. sometimes.
added on the 2016-03-20 01:21:44 by cupe cupe
Code://WHAT? why do i have to do this? thanks for nothing, nvidia-compiler. float saturateFloat (float a) { return saturate(a); }
added on the 2016-03-20 01:40:37 by cupe cupe
Code: f+= t * noise(p); p *= m * q; t/= 2; q-= .01; f+= t * noise(p); p *= m * q; t/= 2; q-= .01; f+= t * noise(p); p *= m * q; t/= 2; q-= .01; f+= t * noise(p); p *= m * q; t/= 2; q-= .01;
added on the 2016-03-20 03:08:26 by merry merry
Code:throw new RuntimeException("ur fumb as duck!");
added on the 2016-03-21 19:48:35 by whizart whizart
Code: var panning = opts.panning || [0.5, 0.5, 0.5]; var panVolumeAdjust = []; for (var i = 0; i < 3; i++) { /* kebby says we should do this. And you don't argue with kebby. http://conspiracy.hu/articles/8/ */ panVolumeAdjust[i] = [ Math.sqrt(1.0-panning[i]), Math.sqrt(panning[i]) ]; }
added on the 2016-03-21 23:40:06 by gasman gasman
Code:and #1 ; the extra free throw after a foul in basketball.
added on the 2016-03-22 08:11:14 by freem freem
Code:message("Bad bad bad file extension!");
added on the 2016-03-22 09:04:11 by Marq Marq
Code: goto IS_SUPPRESSEDn; // https://xkcd.com/292/ - what does he know anyway?
added on the 2016-03-23 10:22:11 by すすれ すすれ
Code: // just go a bit slower v2 (fixes bpm sync) m_base.timediv2 -= 1;
added on the 2016-03-23 10:47:46 by _vincent _vincent
Code: jsr LdLoc+6 ; shutup dload
added on the 2016-03-23 12:28:41 by visy visy
Code:new Human();
added on the 2016-03-23 13:00:51 by rimina rimina
Nsfw?
added on the 2016-03-23 18:24:37 by sm sm
post 1337!!!!!!!1!!!
added on the 2016-03-23 22:31:53 by bartman bartman
// workaround for galaxy s7 / s7edge
added on the 2016-04-06 11:45:39 by jco jco
Code: move.b #$ed,(a3)+ ; 2nd opcode-byte of bset dx,xxxx(a5) instruction
added on the 2016-04-06 14:15:49 by StingRay StingRay
Code: glFrontFace(GL_CW); quad->Draw(); glFrontFace(GL_CCW);


It's allways the petty, non-esoteric shit.

If you tought my scene looked like shyte you should see it lit up.
added on the 2016-04-06 22:32:31 by Deus Deus
Code:for x = x,canvas:getWidth(), size * 2 do
added on the 2016-04-06 23:01:16 by ___ ___
Epsilon*=1.002+0.001*distance;

Allows itterative functions to converge more linearily inside of an iterative loop. In raymarching it bends space towards the ray.
added on the 2016-04-10 17:36:49 by ollj ollj
Code:Simplex<dimensions, degree, Quadrature>(const SimplexGeometry& geometry) : Element<dimensions, dofs, SimplexGeometry<dimensions>, Quadrature, Simplex<dimensions, degree, Quadrature>>(geometry) {}
added on the 2016-04-14 13:04:03 by msqrt msqrt
the avid reader will spot a missing template argument ("<dimensions>") in the argument type.
added on the 2016-04-14 13:40:48 by msqrt msqrt
color = tunnel(2.0 * length(0.5-uv));
added on the 2016-04-14 19:20:38 by visy visy
Code:WHERE ISNULL(I.UserID, NULL) IS NULL


I hate my life.
added on the 2016-04-15 03:45:40 by bloodnok bloodnok
normal_divisor = ((T[0]-P[0])**2 + (T[1]-P[1])**2 + (T[2]-P[2])**2)**0.5
added on the 2016-04-15 04:01:07 by baldrick baldrick
Code:int 10h
added on the 2016-04-16 01:34:41 by rudi rudi
Code:;xor di,di ;who gives a fuck?

login