Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose magica voxel scene info #10

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

zzhgithub
Copy link
Contributor

Read More info of vox file. save in a VoxMateData
and support helper fn to build entity for all models with relation in vox file.
example is in example/boy.rs

Copy link
Owner

@Game4all Game4all left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First pass

src/vox_scene_info.rs Show resolved Hide resolved
src/vox_scene_info.rs Outdated Show resolved Hide resolved
src/vox_scene_info.rs Outdated Show resolved Hide resolved
Copy link
Owner

@Game4all Game4all left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK otherwise

src/vox_scene_info.rs Outdated Show resolved Hide resolved
assets/boy.vox Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just in case to not get into any legal trouble, what's the usage license for this ?

return true;
}

pub fn to_entity(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather have this called spawn or something along this at it effectively spawns an entity into the world.

Suggested change
pub fn to_entity(
pub fn spawn(

Co-authored-by: Lucas Arriesse <[email protected]>
@Game4all Game4all changed the title More info Expose magica voxel scene info Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants