Linux fixes

This commit is contained in:
Stefan Högler
2022-03-26 16:15:50 +01:00
parent 229ffed964
commit d903f487d4
15 changed files with 87 additions and 80 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ public:
virtual void launchStart();
virtual void start() {}
Array<Job> launchTick(float deltaTime) const;
virtual Job tick(float deltaTime) const { co_return; }
virtual Job tick(float) const { co_return; }
Array<Job> launchUpdate();
virtual Job update() { co_return; }
void notifySceneAttach(PScene scene);
@@ -10,8 +10,8 @@ CameraComponent::CameraComponent()
, fieldOfView(0)
, bNeedsViewBuild(true)
, bNeedsProjectionBuild(true)
, projectionMatrix(Matrix4())
, viewMatrix(Matrix4())
, projectionMatrix(Matrix4())
{
yaw = 0;
pitch = 0;
+1 -1
View File
@@ -17,7 +17,7 @@ public:
void launchStart();
virtual void start() {};
Array<Job> launchTick(float deltaTime) const;
virtual Job tick(float deltaTime) const { co_return; }
virtual Job tick(float) const { co_return; }
Array<Job> launchUpdate();
virtual Job update() { co_return; }
PComponent getParent();
+1 -1
View File
@@ -12,7 +12,7 @@ void MyComponent::start()
otherComp.update();
}
Job MyComponent::tick(float deltatime) const
Job MyComponent::tick(float) const
{
//std::cout << "MyComponent::tick" << std::endl;
++writable;
@@ -2,7 +2,7 @@
using namespace Seele;
Job MyOtherComponent::tick(float deltaTime) const
Job MyOtherComponent::tick(float) const
{
//std::cout << *data << std::endl;
co_return;
+2 -2
View File
@@ -10,8 +10,8 @@ public:
Writable()
{}
Writable(T initialData)
: data(initialData)
, toBeWritten(initialData)
: toBeWritten(initialData)
, data(initialData)
{}
Writable(const Writable& other) = delete;
Writable(Writable&& other) = default;