Chira Engine
A customizable MIT-licensed game engine.
BillboardComponent.h
1 #pragma once
2 
3 #include "TransformComponent.h"
4 
5 namespace chira {
6 
8  explicit BillboardComponent(bool xAxis = true, bool yAxis = true, bool zAxis = true)
9  : x(xAxis)
10  , y(yAxis)
11  , z(zAxis) {}
12 
13 public:
14  TransformComponent* transform;
15  bool x;
16  bool y;
17  bool z;
18 };
19 
20 } // namespace chira