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.
Code:
//WHAT? why do i have to do this? thanks for nothing, nvidia-compiler.
float saturateFloat (float a) {
return saturate(a);
}
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;
Code:
throw new RuntimeException("ur fumb as duck!");
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])
];
}
Code:
and #1 ; the extra free throw after a foul in basketball.
Code:
message("Bad bad bad file extension!");
Code:
goto IS_SUPPRESSEDn; // https://xkcd.com/292/ - what does he know anyway?
Code:
// just go a bit slower v2 (fixes bpm sync)
m_base.timediv2 -= 1;
Code:
jsr LdLoc+6 ; shutup dload
Code:
new Human();
Nsfw?
post 1337!!!!!!!1!!!
// workaround for galaxy s7 / s7edge
Code:
move.b #$ed,(a3)+ ; 2nd opcode-byte of bset dx,xxxx(a5) instruction
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.
Code:
for x = x,canvas:getWidth(), size * 2 do
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.
Allows itterative functions to converge more linearily inside of an iterative loop. In raymarching it bends space towards the ray.
Code:
Simplex<dimensions, degree, Quadrature>(const SimplexGeometry& geometry) : Element<dimensions, dofs, SimplexGeometry<dimensions>, Quadrature, Simplex<dimensions, degree, Quadrature>>(geometry) {}
the avid reader will spot a missing template argument ("<dimensions>") in the argument type.
color = tunnel(2.0 * length(0.5-uv));
Code:
WHERE ISNULL(I.UserID, NULL) IS NULL
I hate my life.
normal_divisor = ((T[0]-P[0])**2 + (T[1]-P[1])**2 + (T[2]-P[2])**2)**0.5
Code:
int 10h
Code:
;xor di,di ;who gives a fuck?