Skip to content

Commit

Permalink
HSGIL 0.2.1 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
AsulconS committed Feb 27, 2024
1 parent 2d5d8eb commit 191a03c
Show file tree
Hide file tree
Showing 44 changed files with 121 additions and 175 deletions.
7 changes: 2 additions & 5 deletions include/HSGIL/config/common.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_COMMON_HPP
#define HSGIL_COMMON_HPP
#pragma once

#include <cstdint>

Expand Down Expand Up @@ -52,5 +51,3 @@ namespace erick = gil;
namespace yober = gil;
namespace pogdo = gil;
namespace zhong = gil;

#endif // HSGIL_COMMON_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/config/config.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_CONFIG_HPP
#define HSGIL_CONFIG_HPP
#pragma once

/**
* This defines the OS we are working with
Expand Down Expand Up @@ -58,5 +57,3 @@
#if defined(C__HSGIL_DEV_OPT_1)
#include <vld.h>
#endif

#endif // HSGIL_CONFIG_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/exception/genericException.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_GENERIC_EXCEPTION_HPP
#define HSGIL_GENERIC_EXCEPTION_HPP
#pragma once

#include <exception>

Expand All @@ -46,5 +45,3 @@ class GenericException : public std::exception
} // namespace gil

#include <HSGIL/exception/genericException.inl>

#endif // HSGIL_GENERIC_EXCEPTION_HPP
2 changes: 1 addition & 1 deletion include/HSGIL/exception/genericException.inl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand Down
7 changes: 2 additions & 5 deletions include/HSGIL/exception/graphics/graphicsException.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_GRAPHICS_EXCEPTION_HPP
#define HSGIL_GRAPHICS_EXCEPTION_HPP
#pragma once

#include <HSGIL/exception/genericException.hpp>

Expand Down Expand Up @@ -61,5 +60,3 @@ class ShaderException : public GraphicsException
} // namespace gil

#include <HSGIL/exception/graphics/graphicsException.inl>

#endif // HSGIL_GRAPHICS_EXCEPTION_HPP
2 changes: 1 addition & 1 deletion include/HSGIL/exception/graphics/graphicsException.inl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand Down
7 changes: 2 additions & 5 deletions include/HSGIL/exception/system/dstrException.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_DSTR_EXCEPTION_HPP
#define HSGIL_DSTR_EXCEPTION_HPP
#pragma once

#include <HSGIL/exception/genericException.hpp>

Expand Down Expand Up @@ -61,5 +60,3 @@ class KeyNotFoundException : public DStrException
} // namespace gil

#include <HSGIL/exception/system/dstrException.inl>

#endif // HSGIL_DSTR_EXCEPTION_HPP
2 changes: 1 addition & 1 deletion include/HSGIL/exception/system/dstrException.inl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand Down
7 changes: 2 additions & 5 deletions include/HSGIL/exception/window/windowException.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_WINDOW_EXCEPTION_HPP
#define HSGIL_WINDOW_EXCEPTION_HPP
#pragma once

#include <HSGIL/exception/genericException.hpp>

Expand Down Expand Up @@ -76,5 +75,3 @@ class GLADInitException : public WindowException
} // namespace gil

#include <HSGIL/exception/window/windowException.inl>

#endif // HSGIL_WINDOW_EXCEPTION_HPP
2 changes: 1 addition & 1 deletion include/HSGIL/exception/window/windowException.inl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand Down
7 changes: 2 additions & 5 deletions include/HSGIL/graphics.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,14 +21,11 @@
* *
********************************************************************************/

#ifndef HSGIL_GRAPHICS_I_HPP
#define HSGIL_GRAPHICS_I_HPP
#pragma once

#include <HSGIL/config/config.hpp>

#include <HSGIL/graphics/shader.hpp>
#include <HSGIL/graphics/gUtils.hpp>
#include <HSGIL/graphics/mesh.hpp>
#include <HSGIL/graphics/model.hpp>

#endif // HSGIL_GRAPHICS_I_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/graphics/gUtils.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_G_UTILS_HPP
#define HSGIL_G_UTILS_HPP
#pragma once

#include <HSGIL/external/glm/glm.hpp>

Expand Down Expand Up @@ -64,5 +63,3 @@ HSGIL_API uint32 loadTexture(const char* path);
HSGIL_API void setupDefaultLights(Shader& shader, const glm::vec3& viewPos = {2.0f, 4.0f, 2.0f});

} // namespace gil

#endif // HSGIL_G_UTILS_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/graphics/mesh.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_MESH_HPP
#define HSGIL_MESH_HPP
#pragma once

#include <HSGIL/external/glm/glm.hpp>

Expand Down Expand Up @@ -84,5 +83,3 @@ class HSGIL_API Mesh
};

} // namespace gil

#endif // HSGIL_MESH_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/graphics/model.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_MODEL_HPP
#define HSGIL_MODEL_HPP
#pragma once

#include <HSGIL/external/glm/glm.hpp>

Expand Down Expand Up @@ -74,5 +73,3 @@ class HSGIL_API Model
};

} // namespace gil

#endif // HSGIL_MODEL_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/graphics/shader.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_SHADER_HPP
#define HSGIL_SHADER_HPP
#pragma once

#include <HSGIL/external/glad/glad.h>
#include <HSGIL/external/glm/glm.hpp>
Expand Down Expand Up @@ -189,5 +188,3 @@ class HSGIL_API Shader
};

} // namespace gil

#endif // HSGIL_SHADER_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/hsgil.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,12 +21,9 @@
* *
********************************************************************************/

#ifndef HSGIL_I_HPP
#define HSGIL_I_HPP
#pragma once

#include <HSGIL/system.hpp>
#include <HSGIL/math.hpp>
#include <HSGIL/window.hpp>
#include <HSGIL/graphics.hpp>

#endif // HSGIL_I_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/math.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_MATH_I_HPP
#define HSGIL_MATH_I_HPP
#pragma once

#include <HSGIL/config/config.hpp>

Expand All @@ -32,5 +31,3 @@
#include <HSGIL/math/vec4.hpp>
#include <HSGIL/math/mUtils.hpp>
#include <HSGIL/math/vecArithmetic.hpp>

#endif // HSGIL_MATH_I_HPP
7 changes: 2 additions & 5 deletions include/HSGIL/math/constants.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2019-2022 Adrian Bedregal *
* Copyright (c) 2019-2024 Adrian Bedregal *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
Expand All @@ -21,8 +21,7 @@
* *
********************************************************************************/

#ifndef HSGIL_CONSTANTS_HPP
#define HSGIL_CONSTANTS_HPP
#pragma once

namespace gil
{
Expand All @@ -48,5 +47,3 @@ constexpr double GALd { 9.806650000000000 };
} // namespace constants

} // namespace gil

#endif // HSGIL_CONSTANTS_HPP
Loading

0 comments on commit 191a03c

Please sign in to comment.