This repository has been archived on 2024-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
DX11Starter/Entity.h
2022-02-05 22:25:20 -05:00

18 lines
262 B
C++

#pragma once
#include "Mesh.h"
#include "Transform.h"
#include <memory>
class Entity
{
public:
Entity(std::shared_ptr<Mesh> _mesh);
Transform* GetTransform();
std::shared_ptr<Mesh> GetMesh();
private:
Transform transform;
std::shared_ptr<Mesh> mesh;
};