What is ExtVec3f for ? #863
-
Small question to Sofa wizards..
Suggested labels: |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
On my side I really wonder what this things in bringing that the StdVec does not have. |
Beta Was this translation helpful? Give feedback.
-
@guparan , @epernod , @fredroy any ideas ? |
Beta Was this translation helpful? Give feedback.
-
It seems that no-one want to say anything about that :) |
Beta Was this translation helpful? Give feedback.
-
On my best knowledge, it corresponds to a type for visualization/visual models. |
Beta Was this translation helpful? Give feedback.
-
Thank you Hugo. |
Beta Was this translation helpful? Give feedback.
-
The need for ExtVec came from two design goals:
However, looking back at what was used in practice, both goals are not really useful:
I would argue that the ideal design would be to have a single vector class for state vectors that:
This way a single DataTypes could be used for "normal" states, visual models, and GPGPU support. But in the meantime just getting rid of ExtVec will do no harm that I know of ;) |
Beta Was this translation helpful? Give feedback.
-
thank you for your feedback Jeremie, this will help the next steps a lot |
Beta Was this translation helpful? Give feedback.
The need for ExtVec came from two design goals:
However, looking back at what was used in practice, both goals are not really useful: