From 584a8654a818552e492b6a993cbfbc0fd0d3921d Mon Sep 17 00:00:00 2001 From: Dane Johnson Date: Tue, 12 Jan 2021 14:09:38 -0600 Subject: [PATCH] Init commit --- core/.dir-locals.el | 4 ++++ core/Transform.h | 10 ++++++++++ core/Vertex.h | 10 ++++++++++ core/types.h | 10 ++++++++++ roadmap.md | 17 +++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 core/.dir-locals.el create mode 100644 core/Transform.h create mode 100644 core/Vertex.h create mode 100644 core/types.h create mode 100644 roadmap.md diff --git a/core/.dir-locals.el b/core/.dir-locals.el new file mode 100644 index 0000000..10c00c3 --- /dev/null +++ b/core/.dir-locals.el @@ -0,0 +1,4 @@ +;;; Directory Local Variables +;;; For more information see (info "(emacs) Directory Variables") + +((c-mode . ((mode . c++)))) diff --git a/core/Transform.h b/core/Transform.h new file mode 100644 index 0000000..608fed3 --- /dev/null +++ b/core/Transform.h @@ -0,0 +1,10 @@ +#ifndef TRANSFORM_H +#define TRANSFORM_H + +#include "types.h" + +struct Transform { + Position position; +} + +#endif /* TRANSFORM_H */ diff --git a/core/Vertex.h b/core/Vertex.h new file mode 100644 index 0000000..fe109c3 --- /dev/null +++ b/core/Vertex.h @@ -0,0 +1,10 @@ +#ifndef VERTEX_H +#define VERTEX_H + +#include "types.h" + +struct Vertex { + cfloat x, y, z; +} + +#endif /* VERTEX_H */ diff --git a/core/types.h b/core/types.h new file mode 100644 index 0000000..238af88 --- /dev/null +++ b/core/types.h @@ -0,0 +1,10 @@ +#ifndef TYPES_H +#define TYPES_H + +#include +#include + +typedef glm::vec3 Position; +typedef GLfloat cfloat; + +#endif /* TYPES_H */ diff --git a/roadmap.md b/roadmap.md new file mode 100644 index 0000000..7a10651 --- /dev/null +++ b/roadmap.md @@ -0,0 +1,17 @@ +# Couch, the Last Bastion of Interactive Arts Co-operation + +## Technical Specifications +- OpenGL is the only officially supported backend +- GLEW to wrangle extensions +- GLFW3 for handling windows and whatnot +- Targets Windows, Linux +- Guile with GOOPS as scripting language +- No editor planned + +## Roadmap +### Programmable Balls +I want my balls to be programmable, I need to create a few key classes +1. Balls, duh +2. Transforms, which represent position (of my balls) +3. Camera, to look at my balls +4. Shaders, to render my balls