| 500 | } |
| 501 | |
| 502 | void ClampRotation(Pose& outPose, short angle, short rot) |
| 503 | { |
| 504 | if (angle <= rot) |
| 505 | { |
| 506 | outPose.Orientation.y += (angle >= -rot) ? angle : -rot; |
| 507 | } |
| 508 | else |
| 509 | { |
| 510 | outPose.Orientation.y += rot; |
| 511 | } |
| 512 | } |
| 513 | } |
no outgoing calls
no test coverage detected