| 102 | } |
| 103 | |
| 104 | FloatPoint getUVFromPositionInsideRect( |
| 105 | const FloatPoint& _point, |
| 106 | const FloatPoint& _v0, |
| 107 | const FloatPoint& _v1, |
| 108 | const FloatPoint& _baseUV) |
| 109 | { |
| 110 | return { |
| 111 | _baseUV.left + _point.left * _v0.left + _point.top * _v1.left, |
| 112 | _baseUV.top + _point.left * _v0.top + _point.top * _v1.top}; |
| 113 | } |
| 114 | |
| 115 | } // namespace MyGUI |
no outgoing calls
no test coverage detected