• 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
..
dialogs Loading commit data...
gerber_test_files Loading commit data...
CMakeLists.txt Loading commit data...
Info.plist Loading commit data...
block.cpp Loading commit data...
class_DCodeSelectionbox.cpp Loading commit data...
class_DCodeSelectionbox.h Loading commit data...
class_GERBER.cpp Loading commit data...
class_GERBER.h Loading commit data...
class_am_param.cpp Loading commit data...
class_am_param.h Loading commit data...
class_aperture_macro.cpp Loading commit data...
class_aperture_macro.h Loading commit data...
class_excellon.h Loading commit data...
class_gbr_layer_box_selector.cpp Loading commit data...
class_gbr_layer_box_selector.h Loading commit data...
class_gbr_layout.cpp Loading commit data...
class_gbr_layout.h Loading commit data...
class_gbr_screen.cpp Loading commit data...
class_gbr_screen.h Loading commit data...
class_gerber_draw_item.cpp Loading commit data...
class_gerber_draw_item.h Loading commit data...
class_gerbview_layer_widget.cpp Loading commit data...
class_gerbview_layer_widget.h Loading commit data...
controle.cpp Loading commit data...
dcode.cpp Loading commit data...
dcode.h Loading commit data...
draw_gerber_screen.cpp Loading commit data...
events_called_functions.cpp Loading commit data...
excellon_read_drill_file.cpp Loading commit data...
export_to_pcbnew.cpp Loading commit data...
files.cpp Loading commit data...
gerbview.cpp Loading commit data...
gerbview.h Loading commit data...
gerbview.icns Loading commit data...
gerbview.rc Loading commit data...
gerbview_config.cpp Loading commit data...
gerbview_doc.icns Loading commit data...
gerbview_frame.cpp Loading commit data...
gerbview_frame.h Loading commit data...
gerbview_id.h Loading commit data...
hotkeys.cpp Loading commit data...
hotkeys.h Loading commit data...
initpcb.cpp Loading commit data...
locate.cpp Loading commit data...
menubar.cpp Loading commit data...
onleftclick.cpp Loading commit data...
onrightclick.cpp Loading commit data...
options.cpp Loading commit data...
pcbplot.cpp Loading commit data...
pcbplot.h Loading commit data...
readgerb.cpp Loading commit data...
rs274_read_XY_and_IJ_coordinates.cpp Loading commit data...
rs274d.cpp Loading commit data...
rs274x.cpp Loading commit data...
select_layers_to_pcb.cpp Loading commit data...
select_layers_to_pcb.h Loading commit data...
toolbars_gerber.cpp Loading commit data...