Skip to content

Instantly share code, notes, and snippets.

@PaperPrototype
Last active February 22, 2021 01:28
Show Gist options
  • Save PaperPrototype/08ee912328873e9d21f9bec5d44d8235 to your computer and use it in GitHub Desktop.
Save PaperPrototype/08ee912328873e9d21f9bec5d44d8235 to your computer and use it in GitHub Desktop.
using Rendering;
public class Renderable : Node {
public Mesh mesh;
public virtual Render() {
// this.transform, inherited transform from Node
Rendering.enqeue(this.transform, this.mesh);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment