pouët.net

Go to bottom

Random line of code thread

category: code [glöplog]
Code:// sanity check: if distance is bogus, skip anyway newpt = intersect(oldpt, sphere[i]); if (abs(dist(sphere[i].pos, newpt)-sphere[i].radius) >= 0.07) continue;
added on the 2018-11-11 16:25:55 by porocyon porocyon
Code:Note : I draw the walls closest to farthest and I maintain a ZBuffet


I need to visit this Buffet, sounds yummie!
added on the 2018-11-14 20:04:07 by Optimus Optimus
nop
It's Friday, so it's time to write SUPER HIGH QUALITY CODE again:

Code:stat.CurrentZoom = (int)(100.0 * Math.Pow(1.2, Host.ZoomLevel)); // this asserts in CEF debug builds bc we're totally in the wrong thread but it's an int getter so shut up, really.
added on the 2018-11-23 13:45:09 by kb_ kb_
nops:
nop
nop
nop
nop
nop
nop
nop
nop
added on the 2018-11-23 14:19:33 by visy visy
towerofpixset:
or.b d5,0(a0) ; d5 = 128
or.b d4,0(a0) ; d4 = 64
or.b d3,0(a0) ; d3 = 32
bset.b d1,0(a0) ; d1 = 4 2^4=16
or.b d2,0(a0) ; d2 = 8
or.b d1,0(a0) ; d1 = 4
bset.b d0,0(a0) ; d0 = 1 2^1=2
or.b d0,0(a0) ; d0 = 1

or.b d5,1(a0) ; d5 = 128
or.b d4,1(a0) ; d4 = 64
or.b d3,1(a0) ; d3 = 32
bset.b d1,1(a0) ; d1 = 4 2^4=16
or.b d2,1(a0) ; d2 = 8
or.b d1,1(a0) ; d1 = 4
bset.b d0,1(a0) ; d0 = 1 2^1=2
or.b d0,1(a0) ; d0 = 1
added on the 2018-11-26 12:57:17 by gloky gloky
Code:"%s.%s.%s.%s" % (blah[0], blah[1], bleh[1], bleh[2])
added on the 2018-11-26 15:48:48 by porocyon porocyon
Code: jr z,move_teeth_while_dead
added on the 2018-12-06 02:24:23 by gasman gasman
bsr apologie
added on the 2018-12-09 13:49:39 by gloky gloky
Code:if (ordered_taco = true) then: order taco(flavor = taco_flavor, location = order_location); if (taco_flavor = diarrhea) then: say("Sorry, we don't serve that flavor"); endif; endif;
added on the 2018-12-09 15:58:32 by Flashy Flashy
i m not dead
i m living dead
added on the 2018-12-10 12:41:42 by gloky gloky

login

Go to top