Daggerfall Mod:Angle Mathematics
The UESPWiki – Your source for The Elder Scrolls since 1995
Daggerfall uses integer math as much as possible; there are very few floating point operations present in the game. Angle mathematics are also computed using integers. In Daggerfall, angles are represented as 16-bit integers (Int16) and are referred to as "Daggerfall Angles", or Da, where π is represented as 1024. This means 2048Da is 360°, or 2π radians.
When working with Daggerfall Angles using modern matrix-based techniques, one will most likely first need to convert between Da and radians.
π Da | π radians | π Degrees |
---|---|---|
1024 | 3.14159265358979 | 180 |
Da/Radian | Radian/Da | Da/Degree |
325.949323452202 | 0.00306796157577128 | 5.68888888888889 |