Skip to content

Commit

Permalink
Divided the method in two
Browse files Browse the repository at this point in the history
And added two properties
  • Loading branch information
fkeglevich committed Jan 29, 2019
1 parent d4fd809 commit c591a02
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ public void writeOpcodeData(ByteBuffer buffer)
.putDouble(mapOriginH)
.putInt(mapPlanes);

writeGainMapData(buffer);
}

public void writeGainMapData(ByteBuffer buffer)
{
if (DebugFlag.useDebugGainMap())
{
for (int y = 0; y < mapPointsV; y++)
Expand Down Expand Up @@ -163,4 +168,14 @@ public void writeOpcodeData(ByteBuffer buffer)

}
}

public int getMapPointsV()
{
return mapPointsV;
}

public int getMapPointsH()
{
return mapPointsH;
}
}

0 comments on commit c591a02

Please sign in to comment.