ultimate-research / ssbh_lib

Reading and writing SSBH file formats in Rust
MIT License
8 stars 3 forks source link

handle f32 values not representable by target type for rebuilding mesh buffers #31

Closed ScanMountGoat closed 2 years ago

ScanMountGoat commented 3 years ago

Some data may be lost when converting to smaller types such as f32 to f16 or f32 to u8. This could be handled automatically by switching to larger types when needed, truncating, etc. The conversions should be clearly documented and potentially user configurable.