• Lorenzo Marcantonio's avatar
    Angle and distances cleanup (preparing for angles in doubles) · 0e903dba
    Lorenzo Marcantonio authored
    - Removed spurious int casts (these are truncated anyway and will break
      doubles)
    
    - Applied the Distance, GetLineLength, EuclideanNorm, DEG2RAD, RAD2DEG
      ArcTangente and NORMALIZE* functions where possible
    
    - ArcTangente now returns double and handles the 0,0 case like atan2, so
      it's no longer necessary to check for it before calling
    
    - Small functions in trigo moved as inline
    0e903dba
Name
Last commit
Last update
..
CMakeLists.txt Loading commit data...
PolyLine.cpp Loading commit data...
PolyLine.h Loading commit data...
SutherlandHodgmanClipPoly.h Loading commit data...
clipper.cpp Loading commit data...
clipper.hpp Loading commit data...
determine_if_point_inside_polygon.odt Loading commit data...
math_for_graphics.cpp Loading commit data...
math_for_graphics.h Loading commit data...
polygon_test_point_inside.cpp Loading commit data...
polygon_test_point_inside.h Loading commit data...
polygons_defs.h Loading commit data...