Init commit

This commit is contained in:
Dane Johnson 2021-01-12 14:09:38 -06:00
commit 584a8654a8
5 changed files with 51 additions and 0 deletions

4
core/.dir-locals.el Normal file
View File

@ -0,0 +1,4 @@
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((c-mode . ((mode . c++))))

10
core/Transform.h Normal file
View File

@ -0,0 +1,10 @@
#ifndef TRANSFORM_H
#define TRANSFORM_H
#include "types.h"
struct Transform {
Position position;
}
#endif /* TRANSFORM_H */

10
core/Vertex.h Normal file
View File

@ -0,0 +1,10 @@
#ifndef VERTEX_H
#define VERTEX_H
#include "types.h"
struct Vertex {
cfloat x, y, z;
}
#endif /* VERTEX_H */

10
core/types.h Normal file
View File

@ -0,0 +1,10 @@
#ifndef TYPES_H
#define TYPES_H
#include <GL/glew.h>
#include <glm/glm.hpp>
typedef glm::vec3 Position;
typedef GLfloat cfloat;
#endif /* TYPES_H */

17
roadmap.md Normal file
View File

@ -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