| 288 | |
| 289 | |
| 290 | inline Imath::V3f |
| 291 | warp (float x, float y, const Imath::M33f &xform) |
| 292 | { |
| 293 | Imath::V3f coord (x, y, 1.0f); |
| 294 | coord *= xform; |
| 295 | coord[0] *= 1/(1+2*std::max (-0.5f, coord[1])); |
| 296 | return coord; |
| 297 | } |
| 298 | |
| 299 | |
| 300 | inline Imath::V3f |
no outgoing calls
no test coverage detected