You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for making this library; I'm getting a lot of use out of it.
However, I've run into an issue where I have to format some code a certain way that a proprietary reader expects it to be. Namely, I've got these structures:
The difference between Positions and TextureCoordinates is that the first is a (serde) primitive type, while the second is a struct, which potentially can have other elements inside. But in this specific case we a able to inspect all fields of the serialized struct understand that all of them are attributes and do not make indent for them.
Anyway, writing of struct content is buffered, so we should be able to understand if intendation is needed or not and apply it if required.
Hi, thanks for making this library; I'm getting a lot of use out of it.
However, I've run into an issue where I have to format some code a certain way that a proprietary reader expects it to be. Namely, I've got these structures:
I'm writing like this, though admittedly with some context missing:
The texture coordinates serialise to something like this:
However, the program I need to serialize for requires this format instead:
Is there some way to achieve this that I'm not aware of?
I'm currently working around it by just not using indentation, so everything is written in a single line, but it would be nice to have.
The text was updated successfully, but these errors were encountered: