We are about to switch to a new forum software. Until then we have removed the registration on this forum.
so i have this code:
And i dont know where do i have to put this order:
constrain(height - micLevel * height * 5, 0, height);
Read this: How To Ask Questions The Smart Way
constrain does not affect the source variable so you probably want to assign this to a new (or existing) variable. Where you put it therefore depends entirely on what you're trying to achieve; which you have not stated...
Answers
Read this: How To Ask Questions The Smart Way
constrain does not affect the source variable so you probably want to assign this to a new (or existing) variable. Where you put it therefore depends entirely on what you're trying to achieve; which you have not stated...