| 140 | //----------------------------------------------------------------------------- |
| 141 | |
| 142 | static inline double GetPyrScale( // return 1 for pyr lev 0, .5 for pyr lev 1, etc. |
| 143 | int ilev) // in: pyramid level (0 is full size) |
| 144 | { |
| 145 | return 1 / pow(PYR_RATIO, ilev); |
| 146 | } |
| 147 | |
| 148 | // TODO This definition doesn't belong here. |
| 149 | int EyawAsModIndex( // note: returns a negative index for left facing yaws |
no outgoing calls
no test coverage detected