Closed ratmice closed 7 months ago
So, I believe this leaves to be done BorderMode
, EdgeFilterMode
, and MetaDataType
. I didn't see any mechanisms for setting those from the existing sys crate.
I think those should be left to subsequent patches which implement setBorderMode
, setEdgeFilterMode
and writeMeta
on PtexWriter
.
This adds some (failing) tests for the
EdgeId
enum. It doesn't appear as though the ptex c++ library currently catches these funky values as it does for theMeshType
andDataType
tests previously added.My assumption is it might be worthwhile looking into fixing these upstream, if it is a safe assumtion that writing isn't really a hot path where the additional checks could be problematic? Since this appears to need more work, i've currently set them into draft mode.
While doing this I noticed some renaming/clippy stuff on the previously added tests.