blob: 250b6bcfcd6a780e45dec1e591026ad8d0d21aeb (
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/vector.h"
#include "o3d/mesh.h"
namespace engine::o3d {
class Scene;
class Object3D {
public:
Scene* scene = nullptr;
Mesh mesh;
engine::math::Vector3 loc;
float scale;
float rot_x, rot_y, rot_z;
Object3D(Mesh mesh, engine::math::Vector3 loc, float scale, float rot_x, float rot_y, float rot_z);
};
}
#endif // O3D_OBJ3D_H
|