mirror of
https://github.com/Relintai/sfw.git
synced 2025-03-25 07:46:35 +01:00
27 lines
372 B
C++
27 lines
372 B
C++
#ifndef MESH_INSTACE_2D_H
|
|
#define MESH_INSTACE_2D_H
|
|
|
|
#include "vector.h"
|
|
|
|
#include "material.h"
|
|
#include "mesh.h"
|
|
|
|
#include "transform.h"
|
|
|
|
class MeshInstance2D {
|
|
public:
|
|
void render();
|
|
|
|
MeshInstance2D();
|
|
~MeshInstance2D();
|
|
|
|
Material *material;
|
|
Mesh *mesh;
|
|
|
|
Transform2D transform;
|
|
|
|
Vector<MeshInstance2D *> children;
|
|
};
|
|
|
|
#endif // MESH_INSTACE_H
|