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

Implmenting constructors #3

Closed stephen-hqxu closed 3 years ago

stephen-hqxu commented 3 years ago

Current state

Suggestion

The following should be implemented

  1. Copy constructor.
  2. Copy assignment.
  3. Move constructor.
  4. Move assignment.

    At least for those interfaced classes.

stephen-hqxu commented 3 years ago

Updates

Most classes have been given delete constructors due to the fact that they are for functional purposes or moved around by reference only (rendering, computing, etc.). Utiliy class like settings that are most likely to be used by developers have been implemented with explicit constructors.

Solid implementations instead of just assigning delete for more classes will come in the future, for now maintainance is not my No.1 priority which is to complete 2D generators according to our road map.