|
|
|
|
|
|
|
|
|
Posted: Sat Oct 21, 2006 1:57 pm
Well, life goes on as always. I feel like I'm losing touch with my main set of skills though, it took me all week to write this:
float getVectorDistance(CVector v1, CVector v2) { float acc,nx,ny,nz; nx = v1.x * v2.x; ny = v1.y * v2.y; nz = v1.z * v2.z; acc = sqrt(nx+ny+nz); return acc; }
For those who care, that tiny amount of rubbish will cause a computer, when given two 3D coordinates, to calculate and return the physical distance between them.
|
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Mon Jan 15, 2007 5:26 am
can you write a virus code or a keylogger code?
|
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Sun Jan 28, 2007 12:58 pm
Yes I can, but no I won't.
|
 |
 |
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|