jared-hughes / DesThree

Desmos bindings for three.js
3 stars 0 forks source link

Can't type PointLight because it contains "int" #8

Closed jared-hughes closed 3 years ago

jared-hughes commented 3 years ago

When trying to type "PointLight," the "int" gets converted to an integral in MathQuill. The current workaround is to copy-paste the function name from elsewhere.

I see a few ways of proceeding:

  1. rename the function to not have this conflict
  2. disable integrals in DesThree expressions
  3. replace "Po\\intL" with "PointL" in graphChanged

The third approach will probably work the best as it allows integrals inside arguments.