ChiefOfGxBxL / WC3MapTranslator

Translate war3map ⇄ json formats for WarCraft III .w3x maps
https://www.npmjs.com/package/wc3maptranslator
MIT License
73 stars 31 forks source link

Use degrees for all angles #27

Closed ChiefOfGxBxL closed 4 years ago

ChiefOfGxBxL commented 4 years ago

The World entities -> Doodads JSON schema asks for the orientation angle/rotation in radians, whereas all other angles (such as for units placed on the map, camera angle of attack or field of view) ask for degrees.

For consistency, the Doodads translator should ask the JSON input to use degrees for its rotation value.

ChiefOfGxBxL commented 4 years ago

Will wait for #24 to be merged in so that this work doesn't have to be done twice: once for JS, once for TS