Difference between revisions of "ESM Math Library"
Jump to navigation
Jump to search
no edit summary
imported>Galsiah |
imported>Galsiah |
||
Line 13: | Line 13: | ||
* Create a new stage in this quest for each function you want to use from this repository and copy all code from it's section in this article to the related Result Script textbox. Make sure to select the right stage number for the function. | * Create a new stage in this quest for each function you want to use from this repository and copy all code from it's section in this article to the related Result Script textbox. Make sure to select the right stage number for the function. | ||
* That's it! You should be able to use them now! | * That's it! You should be able to use them now! | ||
=== Note for Stage function writers === | |||
It's great to see so many contributions. Keep it up. | |||
However, please try to make things as clear as possible for users. This repository will be most useful to users who aren't that good at scripting themselves. It isn't safe to assume that every user is going to check through the code of a function before using it. | |||
At the least, each stage function should make clear what its inputs and outputs are. E.g. for trig functions this means specifying whether inputs/outputs are in degrees or radians. | |||
It also means making it clear (preferably outside the function code) when a certain function uses another one - e.g. Arccos calling Arcsin. Users should ideally not have to look through the code of each stage function to check whether it uses other stage functions. | |||
Making things clear shouldn't take long, and will be helpful to users. It's also no less than your code deserves :). | |||
=== Quest Script === | === Quest Script === |