• 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
..
3d_aux.cpp Angle and distances cleanup (preparing for angles in doubles)
3d_canvas.cpp 3d viewer: code cleaning. Display options are now stored in config.
3d_canvas.h 3d viewer: code cleaning. Display options are now stored in config.
3d_class.cpp 3D-viewer: code cleanup.
3d_draw.cpp Angle and distances cleanup (preparing for angles in doubles)
3d_draw_basic_functions.cpp Angle and distances cleanup (preparing for angles in doubles)
3d_draw_basic_functions.h Pcbnew: fix compil error I created in my previous commit.
3d_frame.cpp MacOSX: deleted obsolete code
3d_read_mesh.cpp Fix X3D patch commit coding policy issues.
3d_struct.h Commit patch for x3d file reader (with minor changes). Commit other minor patches and fixes
3d_toolbar.cpp All: change some texts and messages hard to translate, or not translatable (and some incorrect messages).
3d_viewer.h 3d viewer: code cleaning. Display options are now stored in config.
3d_viewer_id.h 3D viewer:
CMakeLists.txt Commit patch for x3d file reader (with minor changes). Commit other minor patches and fixes
info3d_visu.cpp Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
info3d_visu.h Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
modelparsers.h Pcbnew NETLIST_READER improvements.
trackball.cpp switch all <math.h> includes to <cmath> includes on an attempt to dodge some abiguous references to atan2()
trackball.h Use double instead float when possible, ande code cleaning.
vrmlmodelparser.cpp Fix X3D patch commit coding policy issues.
x3dmodelparser.cpp Fix X3D patch commit coding policy issues.