Commit 76fada28 authored by OTB Bot's avatar OTB Bot

STYLE

parent 596a62bf
......@@ -59,8 +59,8 @@ TileMapTransform<TTransformDirection, TScalarType, NInputDimensions, NOutputDime
y *= 1.0/(2 * M_PI); // scale factor from radians to normalized
y += 0.5; // and make y range from 0 - 1
outputPoint[0] = floor(x*pow(2.,static_cast<double>(m_Depth))*256);
outputPoint[1] = floor(y*pow(2.,static_cast<double>(m_Depth))*256);
outputPoint[0] = floor(x*pow(2., static_cast<double>(m_Depth))*256);
outputPoint[1] = floor(y*pow(2., static_cast<double>(m_Depth))*256);
}
return outputPoint;
}
......
......@@ -137,7 +137,6 @@ int main(int argc, char* argv[])
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
typedef otb::TileMapTransform<otb::TransformDirection::FORWARD> TransformType;
TransformType::Pointer transform = TransformType::New();
transform->SetDepth(depth);
......@@ -204,7 +203,6 @@ int main(int argc, char* argv[])
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
typedef otb::TileMapTransform<otb::TransformDirection::INVERSE> InverseTransformType;
InverseTransformType::Pointer transformInverse = InverseTransformType::New();
transformInverse->SetDepth(depth);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment