MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnTerrpadRenormalize

Method OnTerrpadRenormalize

editor/TerrainDialog.cpp:554–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552}
553
554void CTerrainDialog::OnTerrpadRenormalize() {
555 mprintf(0, "Building terrain normals...this might take a couple of seconds.\n");
556
557 Terrain_checksum = -1;
558 BuildMinMaxTerrain();
559 BuildTerrainNormals();
560 State_changed = 1;
561}
562
563void CTerrainDialog::OnTerrpadRaise10() {
564 for (int i = 0; i < TERRAIN_DEPTH * TERRAIN_WIDTH; i++) {

Callers

nothing calls this directly

Calls 2

BuildMinMaxTerrainFunction · 0.85
BuildTerrainNormalsFunction · 0.85

Tested by

no test coverage detected