ultimate-research / ssbh_lib

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

simplify struct definitions for Mesh #17

Closed ScanMountGoat closed 3 years ago

ScanMountGoat commented 3 years ago

The bounding sphere fields are shared between Mesh and MeshObject and could be simplified. This will also make the JSON output more readable.

example:

struct BoundingSphere { 
    center: Vector3,
    radius: f32
}