Refactoring ideas
This thread is meant to discuss code improvements. It can be edited by everyone.
Use sub-folders
Architecture may be improve by splitting files in folders:
- Core
- Data
- Filters
- Rendering
- Interactors
- Options
- ... please, edit this list, I am not the best fit to fill it.
Use namespaces
- create new namespaces for
-
f3d -
exceptions f3d::except
? -
subfolders (see thread: f3d::filter
,f3d::data
, ... may be too verbose.)
-
-
change the clang-format to avoid re-indenting everything (see NamespaceIndentation
)
Add CMake Preset for build / testing
- build
-
minimal (the lightest version) -
ray-tracing -
testing
-
Class splitting/reorganization
...
Misc
-
enforce C++ 11 in clang-format and CMake -
switch to C++ 14 ?
-
-
use #pragma once