/programs/demos/3DS/3DMATH.INC |
---|
160,6 → 160,7 |
ret |
make_vector_r: |
if Ext < SSE2 |
fninit |
fld dword[edi] ;edi+x3d |
fsub dword[esi] ;esi+x3d |
172,6 → 173,14 |
fld dword[edi+8] |
fsub dword[esi+8] |
fstp dword[ebx+vec_z] |
else |
movups xmm0,[esi] |
movups xmm1,[edi] |
subps xmm1,xmm0 |
movlps [ebx],xmm1 |
movhlps xmm1,xmm1 |
movss [ebx+8],xmm1 |
end if |
ret |
;---------------------- in: ------------------------------- |