quantizeAngle

function quantizeAngle
universe/src/frames.ts:118
quantizeAngle(radians: number) → number

Snap an angle to the precision the id records.

The frame's geometry is built from the quantized value too, not just its name. Otherwise the id does not fully determine the frame: a landing site rebuilt from a save landed half a meter from where it was written, because the original frame had used the unrounded latitude the id had thrown away.

radiansnumber
Undocumented
Returnsnumber