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

using namespace engine::o3d;

Object3D::Object3D(Mesh mesh, engine::math::Vector3 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} {
}