jared-hughes / DesThree

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

Numbers are accepted for some non-number arguments #3

Closed jared-hughes closed 3 years ago

jared-hughes commented 3 years ago

In PerspectiveCamera\left(1,2,5\right) (see https://www.desmos.com/calculator/z4fn1drk3n), the first two numbers end up ignored, and 5 is treated as the fov.

Expected behavior: give an error because 1 and 2 are not Vector3s.