Brenta Engine 1.2
Loading...
Searching...
No Matches
transform_ecs_component.hpp
1// SPDX-License-Identifier: MIT
2// Author: Giovanni Santini
3// Mail: giovanni.santini@proton.me
4// Github: @San7o
5
6#pragma once
7
8#ifndef BRENTA_NO_ECS
9
10#include <brenta/transform.hpp>
11#include <brenta/ecs/ecs.hpp>
12
13namespace brenta
14{
15
16class TransformEcsComponent : public viotecs::Component
17{
18public:
19
20 Transform transform = {};
21
22 TransformEcsComponent() = default;
24 : transform(t) {}
25
26};
27
28} // namespace brenta
29
30#endif // BRENTA_NO_ECS