issues
search
nerfstudio-project
/
viser
Web-based 3D visualization + Python
https://viser.studio/latest
Apache License 2.0
596
stars
31
forks
source link
Fix float/int cast for vector2 and vector3 GUI elements
#231
Closed
brentyi
closed
4 days ago
brentyi
commented
5 days ago
Fixes a regression on #57.
Concretely:
0
and
0.0
are the same in Javascript.
As a result, we were sometimes getting
0
when we actually wanted
0.0
.
This is
usually
fine because of Python's numeric tower, but can cause some edge cases when combined with numpy.
Fixes a regression on #57.
Concretely:
0
and0.0
are the same in Javascript.0
when we actually wanted0.0
.