Files
firestorm/Gameleap/code/mw4/Libraries/Proxies/Process.cpp
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

40 lines
963 B
C++

#include "ProxyHeaders.hpp"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
Process::Process():
planeThicknessTolerance(1e-4f),
duplicateVertexTolerance(1e-4f),
colinearTolerance(1e-4f),
continueProcess(true),
suppress(true),
errorfn(NULL)
{
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
Process::Process(NotationFile *data_file,bool bSuppress,void* fcn):
suppress(bSuppress),
errorfn(fcn),
continueProcess(true)
{
if (data_file)
{
Check_Object(data_file);
planeThicknessTolerance = 1e-4f;
duplicateVertexTolerance = 1e-4f;
colinearTolerance = 1e-4f;
Page *page = data_file->FindPage("Process");
if (page)
{
Check_Object(page);
page->GetEntry("PlaneThickness", &planeThicknessTolerance);
page->GetEntry("DuplicateVertex", &duplicateVertexTolerance);
page->GetEntry("Colinear", &colinearTolerance);
}
}
}