Commit 892c8245 authored by grunt92's avatar grunt92
Browse files

fix compilation error

parent 8b2bbb04
#include <collision_component/collision_component.h>
#include <core/engine.hpp>
namespace gdw {
collision_component::collision_component(engine &engine, shape_type shape_type){
shape_type shape_type;
}
collision_component::~collision_component(){
}
}
#include "collision_shape.cpp"
#include <core/engine>
namespace gdw {
class collision_shape
{
public:
collision_shape(shape_type shape_type);
~collision_shape();
};
}
\ No newline at end of file
#include "sphere.cpp"
#include <core/engine>
class sphere
{
public:
vec3 position;
float radius;
sphere(glm::vec3 position, float radius){
this.position = position;
this.radius = radius;
}
~sphere();
};
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment