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

Implement a proper scene graph #24

Closed
DeviateFish opened this issue Sep 21, 2015 · 1 comment
Closed

Implement a proper scene graph #24

DeviateFish opened this issue Sep 21, 2015 · 1 comment
Assignees

Comments

@DeviateFish
Copy link
Owner

Any drawable should be able to have other drawables as children. This makes some assumptions that differ from the ones already existing: the first of which is that only things that extend from ModelDrawable have matrices for positioning.

However, nearly(?) everything extends from ModelDrawable, so it might make sense to refactor most of the functionality there into the base Drawable class.

The second part is allowing drawables to have children, and enabling propagation of the drawable's local transform to its children's world transforms (or something like that).

@DeviateFish
Copy link
Owner Author

Closed by #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant