Closed stephen-hqxu closed 3 years ago
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.
remove_pointer
instead of hard-typed the opaque type here.STPChunk
as the value. This also applies to other classes like STPLayerManager
and STPBiomeFactory
.STPDataJitOption
for simplicity, and also can be benefited from overloadded operator.STPDiversity
cannot be split into another library because the core engine depends on it.For all other suggestions, they are done :+1:
Suggestions
STP_CUDA_ARCH
which essentially setsCMAKE_CUDA_ARCH
, which in turn is cached and user can make changes directly, making the optionSTP_CUDA_ARCH
pointless.STPDiversity
can be split into a separate library, the only link between diversity engine and main engine is theSTPBiomeFactory
.insert()
inSTPLayerManager
toemplace()
for more consistent C++ standard style.