Files
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

37 lines
930 B
C++

/**********************************************************************
*<
FILE: osnapmk.h
DESCRIPTION: A Class for an osnapmarker
CREATED BY: John Hutchinson
HISTORY: Feb 12, 1996
*> Copyright (c) 1994, All Rights Reserved.
**********************************************************************/
#ifndef _OSNAP_MARK_H_
#define _OSNAP_MARK_H_
class OsnapMarker
{
private:
int m_numpoints;
IPoint3 *m_ppt;
IPoint3 *m_pcache;
IPoint3 m_cache_trans;
int m_cache_size;
int *m_edgevis;
boolean IsCacheValid(IPoint3 trans, int size);
void UpdateCache(IPoint3 trans, int size);
public:
CoreExport OsnapMarker();
CoreExport ~OsnapMarker();
CoreExport OsnapMarker(int n, IPoint3 *ppt, int *pes);
CoreExport OsnapMarker(const OsnapMarker& om);
CoreExport OsnapMarker& operator=(const OsnapMarker& om);
void display(IPoint3 xyz, int markersize, GraphicsWindow *gw);
};
#endif