Description
As a developer, I would like to have a toNonIndexed prop in my geometries. This prop should set the target geometries to no create indexes
OR
Attack the root issue and be able to use inline functions in our declarative components
Suggested solution
Example
<TresTorusGeometry :args="[1, 0.5, 16, 32]" ref="torus" toNonIndexed />
Alternative
We could add an optional prop and only add this prop. However, this would solve just one issue.
If we want to address the root problem, we should be able to call methods on our component.
For example:
computeLineDistances()
In practice, Tres.js doesn’t support calling this kind of method on our components, so we can’t do this.
<TresTorusGeometry :args="[1, 0.5, 16, 32]" ref="torus" computeLineDistances />
Or similar
Additional context
No response
Validations
Description
As a developer, I would like to have a
toNonIndexedprop in my geometries. This prop should set the target geometries to no create indexesOR
Attack the root issue and be able to use inline functions in our declarative components
Suggested solution
Example
Alternative
We could add an optional prop and only add this prop. However, this would solve just one issue.
If we want to address the root problem, we should be able to call methods on our component.
For example:
computeLineDistances()
In practice, Tres.js doesn’t support calling this kind of method on our components, so we can’t do this.
Or similar
Additional context
No response
Validations