MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / warp_coord

Function warp_coord

src/testtex/testtex.cpp:310–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309
310inline Imath::V2f
311warp_coord (float x, float y)
312{
313 Imath::V3f coord = warp (x/output_xres, y/output_yres, xform);
314 coord.x *= sscale;
315 coord.y *= tscale;
316 coord += offset;
317 return Imath::V2f (coord.x, coord.y);
318}
319
320
321

Callers 1

map_warpFunction · 0.85

Calls 1

warpFunction · 0.85

Tested by

no test coverage detected