mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
Updated IGameMovement and ICollideable for today's engine update.
This commit is contained in:
parent
27187a1060
commit
5ad032f350
@ -119,9 +119,9 @@ public:
|
|||||||
virtual void DiffPrint( char const *fmt, ... ) = 0;
|
virtual void DiffPrint( char const *fmt, ... ) = 0;
|
||||||
|
|
||||||
// Allows other parts of the engine to find out the normal and ducked player bbox sizes
|
// Allows other parts of the engine to find out the normal and ducked player bbox sizes
|
||||||
virtual Vector const& GetPlayerMins( bool ducked ) const = 0;
|
virtual Vector GetPlayerMins( bool ducked ) const = 0;
|
||||||
virtual Vector const& GetPlayerMaxs( bool ducked ) const = 0;
|
virtual Vector GetPlayerMaxs( bool ducked ) const = 0;
|
||||||
virtual Vector const& GetPlayerViewOffset( bool ducked ) const = 0;
|
virtual Vector GetPlayerViewOffset( bool ducked ) const = 0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -32,6 +32,8 @@ public:
|
|||||||
// These methods return the bounds of an OBB measured in "collision" space
|
// These methods return the bounds of an OBB measured in "collision" space
|
||||||
// which can be retreived through the CollisionToWorldTransform or
|
// which can be retreived through the CollisionToWorldTransform or
|
||||||
// GetCollisionOrigin/GetCollisionAngles methods
|
// GetCollisionOrigin/GetCollisionAngles methods
|
||||||
|
virtual const Vector& OBBMinsPreScaled() const = 0;
|
||||||
|
virtual const Vector& OBBMaxsPreScaled() const = 0;
|
||||||
virtual const Vector& OBBMins() const = 0;
|
virtual const Vector& OBBMins() const = 0;
|
||||||
virtual const Vector& OBBMaxs() const = 0;
|
virtual const Vector& OBBMaxs() const = 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user