get the value of slope currently pointed by index on the left path
| 153 | |
| 154 | // get the value of slope currently pointed by index on the left path |
| 155 | int64_t SlopeWalk::getCurrentXLeft(int64_t yy) |
| 156 | { |
| 157 | if(mLeftSlopeIndex != mLeftSlopes.begin()) |
| 158 | { |
| 159 | return getPreviousLeftVertex().x + ((*mLeftSlopeIndex) * (yy - getPreviousLeftVertex().y))/VectorInt64::UNIT ; |
| 160 | } |
| 161 | else |
| 162 | return getCurrentLeftVertex().x; |
| 163 | } |
| 164 | |
| 165 | // get the value of slope currently pointed by index on the right path |
| 166 | int64_t SlopeWalk::getCurrentXRight(int64_t yy) |
no outgoing calls
no test coverage detected