hmans / three-elements

Web Components-powered custom HTML elements for building Three.js-powered games and interactive experiences. 🎉
https://three-elements.hmans.co
MIT License
398 stars 14 forks source link

[proxy] Improve proxy typings #52

Open hmans opened 3 years ago

hmans commented 3 years ago

In its current version, the typings provided by the proxy package are relatively basic. They're smart enough to be able to provide a list of attributes that should be exposed per Three.js object instance, but there's a number of conversions we should be applying there for properties that can take multiple three-elements-specific inputs, like:

Also, further improvements include: