Last active
February 7, 2021 20:24
-
-
Save PaperPrototype/3872f0689b39036ae8dc4803db64185e to your computer and use it in GitHub Desktop.
objects with parents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Object { | |
struct Object *parent; // a pointer | |
struct Transform transform; | |
struct Mesh mesh; | |
struct MeshCollider collider; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment