Commit bb84e2f9 authored by Ilya Prokhorov's avatar Ilya Prokhorov

Pre camera fix

parent 74782c9e
......@@ -47,4 +47,9 @@ void FSEGTVector::populate(shared_ptr<FSEGTVector> vector)
x = vector->x;
y = vector->y;
z = vector->z;
}
glm::vec3 FSEGTVector::vec3() {
auto vector = glm::vec3(x,y,z);
return vector;
}
\ No newline at end of file
......@@ -9,6 +9,7 @@
#define FSEGTVECTOR_H_
#include <FlameSteelCore/Object.h>
#include <glm/glm.hpp>
using namespace FlameSteelCore;
......@@ -25,6 +26,8 @@ public:
int getTileX();
int getTileY();
glm::vec3 vec3();
shared_ptr<FSEGTVector> copy();
void populate(shared_ptr<FSEGTVector> vector);
static shared_ptr<FSEGTVector> vectorXYZ(float x, float y, float z);
......
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