stephen-hqxu / superterrainplus

SuperTerrain+: A real-time procedural 3D infinite terrain engine with geographical features and photorealistic rendering.
MIT License
12 stars 1 forks source link

Some general refactoring advice #21

Closed stephen-hqxu closed 3 years ago

stephen-hqxu commented 3 years ago

Suggestions

stephen-hqxu commented 3 years ago

Additional advice

It seems a bit redundant to have SuperError+ as a separate library, maybe join that with SuperTerrain+ and other dependencies could link to the main engine.

stephen-hqxu commented 3 years ago

Additional advice

https://github.com/stephen-hqxu/superterrainplus/blob/672406bfae71c78ba7bea012a00c9fb14be7f127/SuperTerrain%2B/CoreInterface/Utility/STPSmartStream.h#L35

https://github.com/stephen-hqxu/superterrainplus/blob/672406bfae71c78ba7bea012a00c9fb14be7f127/SuperTerrain%2B/CoreInterface/World/Chunk/STPChunkStorage.h#L57

https://github.com/stephen-hqxu/superterrainplus/blob/672406bfae71c78ba7bea012a00c9fb14be7f127/SuperTerrain%2B/CoreInterface/GPGPU/STPDiversityGeneratorRTC.h#L129-L132

stephen-hqxu commented 3 years ago

Update

For all other suggestions, they are done :+1: