31 lines
550 B
C++
31 lines
550 B
C++
#ifndef BODY_H
|
|
#define BODY_H
|
|
|
|
#include "pch.hpp"
|
|
|
|
#include "extratools.h"
|
|
|
|
#include "Object.h"
|
|
|
|
namespace Archimedes {
|
|
|
|
class Body : public Object {
|
|
|
|
public:
|
|
Body(RenderTarget rt, glm::mat4 t = glm::mat4(1.0f)) : mesh(rt), Object(t) {};
|
|
|
|
Body(VertexBuffer vb, IndexArray ia, VertexLayout vl, Shader s, glm::mat4 t = glm::mat4(1.0f))
|
|
: mesh(vb, ia, vl, s), Object(t) {}
|
|
|
|
Body() {}
|
|
|
|
~Body() {};
|
|
|
|
private:
|
|
|
|
RenderTarget mesh;
|
|
};
|
|
}
|
|
|
|
#endif
|