summaryrefslogtreecommitdiff
path: root/game/server/phys_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/server/phys_controller.h')
-rw-r--r--game/server/phys_controller.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/game/server/phys_controller.h b/game/server/phys_controller.h
new file mode 100644
index 0000000..1492a50
--- /dev/null
+++ b/game/server/phys_controller.h
@@ -0,0 +1,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