adding in the axes for all the camera poses. failing to read the file properly though
This commit is contained in:
10
inc/body.hpp
10
inc/body.hpp
@@ -4,17 +4,17 @@
|
||||
#include <glm/glm.hpp>
|
||||
#include "util.hpp"
|
||||
|
||||
struct body {
|
||||
struct Body {
|
||||
glm::mat4 pose;
|
||||
float scale;
|
||||
uint ebo;
|
||||
uint vao;
|
||||
uint vbo;
|
||||
uint shader;
|
||||
array<float> verts;
|
||||
array<int> faces;
|
||||
Array<float> verts;
|
||||
Array<int> faces;
|
||||
glm::vec4 color;
|
||||
};
|
||||
|
||||
bool load_body(body* out_body, const char* obj_filepath);
|
||||
void draw_body(const body& b);
|
||||
bool load_body(Body* out_body, const char* obj_filepath);
|
||||
void draw_body(const Body& b);
|
||||
|
||||
Reference in New Issue
Block a user