Commit 1c7ee629 authored by Stéphane Albert's avatar Stéphane Albert
Browse files

ENH: Replaced atan() by atan2() in otb::StandardShader SAR phase calculation.

parent 4c69e819
......@@ -94,7 +94,7 @@ std::string StandardShader::GetSource() const
"\n" \
"float phasis( float x, float y )\n" \
"{\n" \
" return atan( y / x );\n" \
" return atan( y, x );\n" \
"}\n" \
"\n" \
"vec3 modulus( vec3 v )\n" \
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