Synodic-Software / Soul-Engine

Physically based renderer and simulation engine for real-time applications.
GNU General Public License v3.0
42 stars 24 forks source link

Replace Includes With Forward Declarations #62

Open Behemyth opened 7 years ago

Behemyth commented 7 years ago

Headers should not be included when a forward declaration suffices. If an #include is used for just a signature such as

then the #include can be moved to the *.cpp file and a forward declaration used in its place class Dog;

Behemyth commented 6 years ago

Some changes by Ryan in PR #241 . There is more to be done, so I'm leaving the issues open.