Skip to content

Instantly share code, notes, and snippets.

@PaperPrototype
Last active February 7, 2021 20:24
Show Gist options
  • Save PaperPrototype/3872f0689b39036ae8dc4803db64185e to your computer and use it in GitHub Desktop.
Save PaperPrototype/3872f0689b39036ae8dc4803db64185e to your computer and use it in GitHub Desktop.
objects with parents
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