three-ts-types
three-ts-types copied to clipboard
TS type library for the popular webgl library threejs
### Why I like Typescript and need the nodes material. It seems to be the only reasonable way to manage shaders. Issue #137 ### What Typings for the Node material....
When attempting to setup the code base for contributing I'm getting an error. I fork the repo (master branch only), clone it, run `yarn install`, and without any modifications I...
This is a draft to collect feedback on the idea of improving specificity of BufferAttribute typings, especially as they relate to BufferGeometry typings ### Why The current typing of attributes...
### Problem description: Documented as BufferAttributes only being able to be given a TypedArray, but when you call `attribute.array` the return type is `ArrayLike` instead of a version of TypedArray...
### Issue Tracker This is used to track potential issues we need to investigate surrounding the `r144` release. - [ ] Last checked: mrdoob/three.js@bd0592b2ea (28 / 07 / 22).
### Why #130 added generic typing to the Intersection type, so that we could get back the same type that we passed in to the intersect methods. That pr missed...
### Describe the feature you'd like: When using 3rd party libraries (e.g. physics) it's a little bit cumbersome to work with `Vector3` and `Quaternion` etc. Library often gives back a...
### Why Issue #124 discusses a desire to have concrete types for the `image` and `mipmaps` fields of `THREE.Texture`. This is made difficult by the fact that Three.js appears to...
### Why To increase quality and speed of development. With autocompletion you won't misspell uniform names and mistype their values. ### What Added uniforms typings for ShaderMaterial, RawShaderMaterial and ShaderPass...
### Describe the feature you'd like: https://github.com/three-types/three-ts-types/blob/6a5f78138c10ca144f15f4e3ea3b989c60f307d1/types/three/src/textures/Texture.d.ts#L52 https://github.com/three-types/three-ts-types/blob/6a5f78138c10ca144f15f4e3ea3b989c60f307d1/types/three/src/textures/Texture.d.ts#L57 If it's certain that these are the only types they can have, then they can be added to the type declaration itself....