Question on Flare code

Question on Flare code

Hi,

 

I would like to understand the rationally behind the calculatePriosIso() and calculatePriosOrtho() methods in MapRenderer.cpp

 

I do get the general idea of calculate a priority number to sort the objects, but the math here doesn't make sense for me , how this guarantee the correct order?

From where those numbers used on the shift operation come from? 37 ? this doesn't make sense for me.

 

Regards,