2025-05-17 14:15:16 -04:00
|
|
|
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
2008-09-15 01:07:45 -05:00
|
|
|
//
|
|
|
|
// Purpose:
|
|
|
|
//
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
|
|
#ifndef SCRATCHPAD_HELPERS_H
|
|
|
|
#define SCRATCHPAD_HELPERS_H
|
|
|
|
#ifdef _WIN32
|
|
|
|
#pragma once
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#include "iscratchpad3d.h"
|
|
|
|
#include "bspfile.h"
|
|
|
|
|
|
|
|
|
|
|
|
void ScratchPad_DrawWinding( IScratchPad3D *pPad, int nPoints, Vector *pPoints, Vector vColor, Vector vOffset = Vector(0,0,0) );
|
|
|
|
|
|
|
|
void ScratchPad_DrawFace( IScratchPad3D *pPad, dface_t *f, int iFaceNumber = -1, const CSPColor &faceColor=CSPColor(1,1,1,1), const Vector &vOffset=Vector(0,0,0) );
|
|
|
|
void ScratchPad_DrawWorld( IScratchPad3D *pPad, bool bDrawFaceNumbers, const CSPColor &faceColor=CSPColor(1,1,1,1) );
|
|
|
|
void ScratchPad_DrawWorld( bool bDrawFaceNumbers, const CSPColor &faceColor=CSPColor(1,1,1,1) );
|
|
|
|
|
|
|
|
|
|
|
|
#endif // SCRATCHPAD_HELPERS_H
|