• Lorenzo Marcantonio's avatar
    Migrated the interfaces accepting angles to the double type · d00c83cd
    Lorenzo Marcantonio authored
    The plan goes like this:
    - eeschema still uses int in decidegrees
    - all the other things internally use double in decidegrees (or radians
      in temporaries)
    - in pcbnew UI the unit is *still* int in decidegrees
    
    The idea is to have better precision everywhere while keeping the user with int i
    angles. Hopefully, if a fractional angle doesn't come in from the outside, everything
    should *look* like an integer angle (unless I forgot something and it broke)
    
    When the time comes, simply updating the UI for allowing doubles from the user should
    be enough to get arbitrary angles in pcbnew.
    d00c83cd
dcode.cpp 18.1 KB