Counter Strike : Global Offensive Source Code
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.

26 lines
1.0 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef PHYS_CONTROLLER_H
  7. #define PHYS_CONTROLLER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #define SF_THRUST_STARTACTIVE 0x0001
  12. #define SF_THRUST_FORCE 0x0002
  13. #define SF_THRUST_TORQUE 0x0004
  14. #define SF_THRUST_LOCAL_ORIENTATION 0x0008
  15. #define SF_THRUST_MASS_INDEPENDENT 0x0010
  16. #define SF_THRUST_IGNORE_POS 0x0020
  17. CBaseEntity *CreateKeepUpright( const Vector &vecOrigin, const QAngle &vecAngles, CBaseEntity *pOwner, float flAngularLimit, bool bActive );
  18. CBaseEntity *CreatePhysThruster( const Vector &vecOrigin, const QAngle &vecAngles, CBaseEntity *pOwner, float flForce, float flForcetime, bool bActive, int nFlags );
  19. AngularImpulse ComputeRotSpeedToAlignAxes( const Vector &testAxis, const Vector &alignAxis, const AngularImpulse &currentSpeed,
  20. float damping, float scale, float maxSpeed );
  21. #endif // PHYS_CONTROLLER_H