Home
last modified time | relevance | path

Searched refs:locY (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/tools/
DToolUtils.cpp284 SkScalar locY = y + 0.5f - center.fY; in create_frustum_normal_map() local
287 if (locY > 0.0f) { in create_frustum_normal_map()
288 norm = locX >= locY ? right : down; // LR corner in create_frustum_normal_map()
290 norm = locX > -locY ? right : up; // UR corner in create_frustum_normal_map()
293 if (locY > 0.0f) { in create_frustum_normal_map()
294 norm = -locX > locY ? left : down; // LL corner in create_frustum_normal_map()
296 norm = locX > locY ? up : left; // UL corner in create_frustum_normal_map()
320 SkScalar locY = y + 0.5f - center.fY; in create_tetra_normal_map() local
323 if (locY > 0.0f) { in create_tetra_normal_map()
324 norm = locX >= locY ? rightUp : down; // LR corner in create_tetra_normal_map()
[all …]
/third_party/skia/tools/
DToolUtils.cpp320 SkScalar locY = y + 0.5f - center.fY; in create_frustum_normal_map() local
323 if (locY > 0.0f) { in create_frustum_normal_map()
324 norm = locX >= locY ? right : down; // LR corner in create_frustum_normal_map()
326 norm = locX > -locY ? right : up; // UR corner in create_frustum_normal_map()
329 if (locY > 0.0f) { in create_frustum_normal_map()
330 norm = -locX > locY ? left : down; // LL corner in create_frustum_normal_map()
332 norm = locX > locY ? up : left; // UL corner in create_frustum_normal_map()
356 SkScalar locY = y + 0.5f - center.fY; in create_tetra_normal_map() local
359 if (locY > 0.0f) { in create_tetra_normal_map()
360 norm = locX >= locY ? rightUp : down; // LR corner in create_tetra_normal_map()
[all …]