rendajs / Renda

A modern rendering engine for the web.
https://rendajs.org
MIT License
10 stars 4 forks source link

`Mesh.clone()` keeps a reference to the old mesh around in attribute buffers. #888

Closed jespertheend closed 7 months ago

jespertheend commented 7 months ago

MeshAttributeBuffer.clone() seems to keep the old mesh instance around. But it's only used for determining which error message to show when providing an invalid data type in setVertexData(). So we could probably get rid of the reference entirely.