| |
|
|
| sometimes must one with partly-hardwarebeschleunigter and pixelgenauer Kollisionserkennung The Number of überlappenden Pixel very quick count:
amount unschwarze Pixel: CompileMarkSeparation
nProc pixels.count(long pix,cnt){
mul cnt,4
mov edx,0
mov eax,pix
mov ecx,eax
add ecx,cnt
sub eax,4
pixels_count_again:
add eax,4
cmp eax,ecx
je pixels_count_eo
mov ebx,[eax]
add ebx,0
jz pixels_count_again
inc edx
jmp pixels_count_again
pixels_count_eo:
mov eax,edx
0000FF>}
|
|
|
| |
|
|