mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wconditional-uninitialized"
|
||||
@@ -36,8 +37,7 @@ double OrientedS(PointD const & p1, PointD const & p2, PointD const & p)
|
||||
return orient2d(a, b, c);
|
||||
}
|
||||
|
||||
bool IsSegmentInCone(PointD const & v, PointD const & v1, PointD const & vPrev,
|
||||
PointD const & vNext)
|
||||
bool IsSegmentInCone(PointD const & v, PointD const & v1, PointD const & vPrev, PointD const & vNext)
|
||||
{
|
||||
double const cpLR = OrientedS(vPrev, vNext, v);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user