This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-04 13:13:01 -04:00

24 lines
837 B
C

//========= 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