Skip to content

Commit

Permalink
Merge pull request #68 from ittiam-systems/fix-oam-rendering
Browse files Browse the repository at this point in the history
Fix for the OAM rendering issue.
  • Loading branch information
sandeshvenkatesh authored Aug 21, 2023
2 parents eedb9f1 + 0a5009f commit 49c13ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions decoder/impeghd_obj_ren_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,11 @@ static WORD32 impeghd_ls_subset_empty(ia_renderer_ls_params *ptr_ls_vertex, WORD
point[0] = ptr_ls_vertex[j].ls_azimuth;

flag_poly = 1;
FLOAT32 front = 180 - (FLOAT32)fmod(360 - point[0], 360);
FLOAT32 front = 180 - (FLOAT32)fmod(180 - point[0], 360);
for (index = 0; index < num_sub_ls; index++)
{
vertices[2 * index + 0] =
ia_sub_flt(180 - (FLOAT32)fmod(360 - polygon[2 * index], 360), front);
ia_sub_flt(180 - (FLOAT32)fmod(180 - polygon[2 * index], 360), front);
vertices[2 * index + 1] = ia_sub_flt(polygon[2 * index + 1], point[1]);
}

Expand Down

0 comments on commit 49c13ae

Please sign in to comment.