added simple description for eval_move
This commit is contained in:
parent
e711060cb9
commit
24d5ca7d4e
@ -49,7 +49,12 @@ static void photoelectric_effect(int nx, int ny)
|
||||
pn_junction_sprk(nx, ny, PT_PSCN);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
RETURN-value explenation
|
||||
1 = Swap
|
||||
0 = No move/Bounce
|
||||
2 = Both particles occupy the same space.
|
||||
*/
|
||||
static int eval_move(int pt, int nx, int ny, unsigned *rr)
|
||||
{
|
||||
unsigned r;
|
||||
|
Reference in New Issue
Block a user