18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-05 16:55:32 +01:00
Files
maszyna/tests
maj00r 0d615c7127 fix(world): the review of the geometry library: S2's face on an edge, no quiet answer for the wrong tile or body
- xyz_to_face takes the later axis on equal components, as S2's
  LargestAbsComponent does, so a direction on a face edge gets S2's id.
- centre_direction and corner_direction give zero for a tile of the plane,
  plane_tile_centre the zero position for a tile of the cube.
- to_cartesian and to_geodetic give zero on the plane; up() at the very
  centre gives the polar axis; fictional_planet asserts a positive radius.
- A body record of the Earth with other axes than WGS84's doesn't read,
  nor a frame of the plane with a rotation or its anchor outside its tile.
- checked_micrometres() for the importers: none for NaN, infinities and
  values that don't fit in an int64.
- The header says the ids are S2's for the geocentric direction, and that
  a geodetic latitude goes through to_cartesian() first.
- GCC and Clang build with -ffp-contract=off, so no multiply and add are
  fused where the target has FMA, and the results stay MSVC's.
2026-12-03 22:18:45 +01:00
..