|
|
| bool QUAD_DBM_2D::readImage |
( |
unsigned char * |
initial, |
|
|
unsigned char * |
attractors, |
|
|
unsigned char * |
repulsors, |
|
|
unsigned char * |
terminators, |
|
|
int |
xRes, |
|
|
int |
yRes |
|
) |
|
|
|
|
read in control parameters from an input file
- Parameters:
-
| initial | initial pixels of lightning |
| attractors | pixels that attract the lightning |
| repulsors | pixels that repulse the lightning |
| terminators | pixels that halt the simulation if hit |
| xRes | x resolution of the image |
| yRes | y resolution of the image |
- Returns:
- Returns false if it finds something wrong with the images
|
|