Currently, when outside values like the worlds depth or angle change, the whole cache must be recalculated. This can be prevented by getting a smaller subset of the original values. A function based on world.map is needed to do this calculation and should have this form:
Currently, when outside values like the worlds depth or angle change, the whole cache must be recalculated. This can be prevented by getting a smaller subset of the original values. A function based on world.map is needed to do this calculation and should have this form:
x = y / (b + ( (100-dist)/100 * (1-b)))