diff --git a/.travis.yml b/.travis.yml index b821717..a6bd30c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: cpp os: linux -dist: trusty +dist: xenial compiler: - gcc before_install: diff --git a/3EngineExecutable/src/LightScene/LightScene.cpp b/3EngineExecutable/src/LightScene/LightScene.cpp index 8700012..57b1175 100644 --- a/3EngineExecutable/src/LightScene/LightScene.cpp +++ b/3EngineExecutable/src/LightScene/LightScene.cpp @@ -4,6 +4,7 @@ * Copyright (C) Ricardo Rodrigues 2017 - All Rights Reserved */ #include +#include #include "LightScene.h" #include "../../../3Engine/src/Shapes/MeshLoader.h" diff --git a/3EngineTests/src/MatrixTests.h b/3EngineTests/src/MatrixTests.h index 86e0d21..86f497b 100644 --- a/3EngineTests/src/MatrixTests.h +++ b/3EngineTests/src/MatrixTests.h @@ -245,14 +245,14 @@ SCENARIO("matrix arithmetic testing", "[matrix]") { THEN("vector +-*/ number") { CHECK((m + 1.0f) == Matrix(2)); - CHECK((m - 1.0f) == Matrix((const number) 0)); + CHECK((m - 1.0f) == Matrix((number) 0)); CHECK((m * 2.0f) == Matrix(2)); CHECK((m / 2.0f) == Matrix(.5f)); } THEN("number +-*/ vector") { CHECK((1.0f + m) == Matrix(2)); - CHECK((1.0f - m) == Matrix((const number) 0)); + CHECK((1.0f - m) == Matrix((number) 0)); CHECK((2.0f * m) == Matrix(2)); CHECK((2.0f / m) == Matrix(2)); }