You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
651 B
24 lines
651 B
//========= Copyright © Valve Corporation, All rights reserved. ============//
|
|
#ifndef PHYSICS_SOFTBODY_HDR
|
|
#define PHYSICS_SOFTBODY_HDR
|
|
|
|
#include "mathlib/softbodyenvironment.h"
|
|
|
|
#ifndef CLIENT_DLL
|
|
#error Softbodies should only be used on client
|
|
#endif
|
|
|
|
extern CSoftbodyEnvironment g_SoftbodyEnvironment; // in physics_softbody.cpp
|
|
extern ConVar softbody_debug; // in studio.cpp
|
|
|
|
class CSoftbodyProcess : public CAutoGameSystemPerFrame
|
|
{
|
|
public:
|
|
CSoftbodyProcess() : CAutoGameSystemPerFrame( "SoftbodyProcess" ) {}
|
|
virtual void OnRestore() OVERRIDE;
|
|
virtual void Update( float frametime ) OVERRIDE;
|
|
|
|
virtual void PostRender() OVERRIDE;
|
|
};
|
|
|
|
#endif
|