Init commit
This commit is contained in:
4
core/.dir-locals.el
Normal file
4
core/.dir-locals.el
Normal 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
10
core/Transform.h
Normal 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
10
core/Vertex.h
Normal 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
10
core/types.h
Normal 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 */
|
||||
Reference in New Issue
Block a user