Skip to content

Commit

Permalink
STYLE: Remove bad comment from WritePoleFigure
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Sep 25, 2024
1 parent cf2ed93 commit 14066a2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,6 @@ typename EbsdDataArray<T>::Pointer flipAndMirrorPoleFigure(EbsdDataArray<T>* src
{
typename EbsdDataArray<T>::Pointer converted = EbsdDataArray<T>::CreateArray(config.imageDim * config.imageDim, src->getComponentDimensions(), src->getName(), true);
// We need to flip the image "vertically", which means the bottom row becomes
// the top row and convert from BGRA to RGBA ordering (This is a Little Endian code)
// If this is ever compiled on a BIG ENDIAN machine the colors will be off.
for(int y = 0; y < config.imageDim; y++)
{
const int destY = config.imageDim - 1 - y;
Expand Down

0 comments on commit 14066a2

Please sign in to comment.