A new 3D game engine for Linux and Windows using C++20 and Vulkan API 1.3, in very early but ongoing development
757
stars
33
forks
source link
Clean-up include directives, forward-declare, and clean-up namespaces #514
Closed
IAmNotHanni closed 1 year ago
I am cleaning up the includes according to the following rules (the discussion is ongoing)
Overview
.hpp
or.cpp
file.cpp
file, forward declare it and include it only in the.cpp
vulkan/vulkan_core.h
instead ofvulkan/vulkan.h
if possibleExtra:
wrapper::
namespace if we are already in that namespaceTODO
We should add these rules to the wiki for clarity. I need your feedback.