aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/phys_controller.h
blob: 1492a501587456611d631a85947f3da71f84638f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
//=============================================================================//

#ifndef PHYS_CONTROLLER_H
#define PHYS_CONTROLLER_H
#ifdef _WIN32
#pragma once
#endif


CBaseEntity *CreateKeepUpright( const Vector &vecOrigin, const QAngle &vecAngles, CBaseEntity *pOwner, float flAngularLimit, bool bActive );

AngularImpulse ComputeRotSpeedToAlignAxes( const Vector &testAxis, const Vector &alignAxis, const AngularImpulse &currentSpeed, 
										  float damping, float scale, float maxSpeed );

#endif // PHYS_CONTROLLER_H