MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetDetailTextures

Method SetDetailTextures

Source/Graphics/terrain.cpp:1029–1036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void Terrain::SetDetailTextures(const std::vector<DetailMapInfo> &_detail_maps_info) {
1030 if (normal_map_ref.valid() && (_detail_maps_info != detail_maps_info)) {
1031 detail_maps_info = _detail_maps_info;
1032 CalcDetailTextures();
1033 } else {
1034 detail_maps_info = _detail_maps_info;
1035 }
1036}
1037
1038void Terrain::SetColorTexture(const char *path) {
1039 color_path = path;

Callers 2

TerrainObjectMethod · 0.80

Calls 1

validMethod · 0.45

Tested by

no test coverage detected