Files
firestorm/Gameleap/code/mw4/Libraries/3dsmax2/include/MAXTESS.H
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

60 lines
1.2 KiB
C++

/**********************************************************************
*<
FILE: maxtess.h
DESCRIPTION: Tessellation Approximation class
CREATED BY: Charles Thaeler
HISTORY: created 12 Dec 1996
*> Copyright (c) 1996, All Rights Reserved.
**********************************************************************/
#ifndef MAXTESS_H
#define MAXTESS_H
typedef enum {
TESS_SET, // This is the old MAX form for Bezier Patches
TESS_ISO, // This is obsolete and should not be used.
TESS_PARAM,
TESS_SPATIAL,
TESS_CURVE,
TESS_LDA,
TESS_REGULAR
} TessType;
typedef enum {
ISO_ONLY,
ISO_AND_MESH,
MESH_ONLY
} ViewConfig;
typedef enum {
SUBDIV_TREE,
SUBDIV_GRID
} TessSubdivStyle;
class TessApprox {
public:
TessType type;
ViewConfig vpt_cfg;
TessSubdivStyle subdiv;
BOOL view;
float merge;
int u, v;
int u_iso, v_iso;
float ang, dist, edge;
int minSub, maxSub;
UtilExport TessApprox();
UtilExport TessApprox(const TessApprox &tess);
UtilExport TessApprox & operator=(const TessApprox& tess);
UtilExport int operator==(const TessApprox &tess) const;
UtilExport IOResult Load(ILoad* iload);
UtilExport IOResult Save(ISave* isave);
};
#endif