aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/obj3d.cpp
blob: 047bf3e7b5a27bcf91aa555354af16d72674d92c (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "o3d/obj3d.h"
#include "math/math_vector.h"
#include "o3d/mesh.h"

using namespace engine::o3d;

Object3D::Object3D(Mesh mesh, engine::math::MathVector3 loc, float scale, float rot_x, float rot_y, float rot_z)
    : mesh{mesh}, loc{loc}, scale{scale}, rot_x{rot_x}, rot_y{rot_y}, rot_z{rot_z} {
}