Home
last modified time | relevance | path

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

/external/mesa3d/src/imgui/
Dimgui_draw.cpp692 …ImVec2* temp_normals = (ImVec2*)alloca(points_count * (thick_line ? 5 : 3) * sizeof(ImVec2)); //-V… in AddPolyline() local
693 ImVec2* temp_points = temp_normals + points_count; in AddPolyline()
701 temp_normals[i1].x = dy; in AddPolyline()
702 temp_normals[i1].y = -dx; in AddPolyline()
705 temp_normals[points_count-1] = temp_normals[points_count-2]; in AddPolyline()
711 temp_points[0] = points[0] + temp_normals[0] * AA_SIZE; in AddPolyline()
712 temp_points[1] = points[0] - temp_normals[0] * AA_SIZE; in AddPolyline()
713 …temp_points[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * AA_SIZ… in AddPolyline()
714 …temp_points[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * AA_SIZ… in AddPolyline()
725 float dm_x = (temp_normals[i1].x + temp_normals[i2].x) * 0.5f; in AddPolyline()
[all …]