aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/obj3d.h
blob: 3a931b152c4a940680115767d90e729566c3653b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef O3D_OBJ3D_H
#define O3D_OBJ3D_H

#include "math/math_vector.h"
#include "o3d/mesh.h"

namespace engine::o3d {

class Scene;

class Object3D {
    public:
        Scene* scene = nullptr;
        Mesh mesh;
        engine::math::MathVector3 loc;
        float scale;
        float rot_x, rot_y, rot_z;

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

}

#endif // O3D_OBJ3D_H