dust-engine / dot_vox

Rust parser for MagicaVoxel .vox files.
MIT License
51 stars 20 forks source link

Add Scenegraph support #23

Closed Neo-Zhixing closed 2 years ago

Neo-Zhixing commented 2 years ago

In #17 @Sixmorphugus created the implementation for adding scenegraph support. I've forked his code and opened a PR on his behalf so we can start a review.

virtualritz commented 2 years ago

I suggest merging this first, then #22, after @nickelc has added nom 7 support to scene.rs. And #24 last.

nickelc commented 2 years ago

@Neo-Zhixing Could you fix the tests, please? It's blocking the rebase of #22.

error[E0063]: missing fields `layers` and `scene` in initializer of `dot_vox_data::DotVoxData`
   --> src/lib.rs:189:9
    |
189 |         DotVoxData {
    |         ^^^^^^^^^^ missing `layers` and `scene`
Neo-Zhixing commented 2 years ago

@nickelc will do!

Neo-Zhixing commented 2 years ago

@nickelc Tests fixed