Skip to content

Instantly share code, notes, and snippets.

@JokerMartini
Created May 13, 2016 13:33
Show Gist options
  • Save JokerMartini/331a075b50f310cad7ddd39a6aa16fa1 to your computer and use it in GitHub Desktop.
Save JokerMartini/331a075b50f310cad7ddd39a6aa16fa1 to your computer and use it in GitHub Desktop.
Maxscript: This is when max prints 1.23456e-5 or 1.#INF. In this case bit.isFinite sets the value of the variable to 0.
for k=1 to 3 where not (bit.isFinite v[k]) do v[k] = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment