• 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
..
examples Loading commit data...
CMakeLists.txt Loading commit data...
pcad2kicad_common.cpp Loading commit data...
pcad2kicad_common.h Loading commit data...
pcad_plugin.cpp Loading commit data...
pcad_plugin.h Loading commit data...
pcb.cpp Loading commit data...
pcb.h Loading commit data...
pcb_arc.cpp Loading commit data...
pcb_arc.h Loading commit data...
pcb_callbacks.h Loading commit data...
pcb_component.cpp Loading commit data...
pcb_component.h Loading commit data...
pcb_copper_pour.cpp Loading commit data...
pcb_copper_pour.h Loading commit data...
pcb_cutout.cpp Loading commit data...
pcb_cutout.h Loading commit data...
pcb_keepout.cpp Loading commit data...
pcb_keepout.h Loading commit data...
pcb_line.cpp Loading commit data...
pcb_line.h Loading commit data...
pcb_module.cpp Loading commit data...
pcb_module.h Loading commit data...
pcb_net.cpp Loading commit data...
pcb_net.h Loading commit data...
pcb_pad.cpp Loading commit data...
pcb_pad.h Loading commit data...
pcb_pad_shape.cpp Loading commit data...
pcb_pad_shape.h Loading commit data...
pcb_plane.cpp Loading commit data...
pcb_plane.h Loading commit data...
pcb_polygon.cpp Loading commit data...
pcb_polygon.h Loading commit data...
pcb_text.cpp Loading commit data...
pcb_text.h Loading commit data...
pcb_via.cpp Loading commit data...
pcb_via.h Loading commit data...
pcb_via_shape.cpp Loading commit data...
pcb_via_shape.h Loading commit data...
s_expr_loader.cpp Loading commit data...
s_expr_loader.h Loading commit data...