r5sdk/r5dev/public/trace.h
Kawe Mazidjatari 7b669ea8c6 Engine trace cleanup
Separate into different files to make it easier for other classes to access.
2023-01-20 17:20:50 +01:00

42 lines
900 B
C++
Raw Blame History

//====== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. =======//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef TRACE_H
#define TRACE_H
#ifdef _WIN32
#pragma once
#endif
#include "mathlib/mathlib.h"
#include "cmodel.h"
//=============================================================================
// Base Trace Structure
// - shared between engine/game dlls and tools (vrad)
//=============================================================================
class CBaseTrace
{
public:
Vector3D startpos;
float unk1;
Vector3D endpos;
float unk2;
cplanetrace_t plane;
float fraction;
int contents;
bool allsolid;
bool startsolid;
};
#endif // TRACE_H