Updated IGameMovement and ICollideable for today's engine update.

This commit is contained in:
Nicholas Hastings 2012-08-15 23:30:41 +01:00
parent 27187a1060
commit 5ad032f350
2 changed files with 7 additions and 5 deletions

View File

@ -119,9 +119,9 @@ public:
virtual void DiffPrint( char const *fmt, ... ) = 0;
// 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 const& GetPlayerMaxs( bool ducked ) const = 0;
virtual Vector const& GetPlayerViewOffset( bool ducked ) const = 0;
virtual Vector GetPlayerMins( bool ducked ) const = 0;
virtual Vector GetPlayerMaxs( bool ducked ) const = 0;
virtual Vector GetPlayerViewOffset( bool ducked ) const = 0;
};

View File

@ -32,6 +32,8 @@ public:
// These methods return the bounds of an OBB measured in "collision" space
// which can be retreived through the CollisionToWorldTransform or
// GetCollisionOrigin/GetCollisionAngles methods
virtual const Vector& OBBMinsPreScaled() const = 0;
virtual const Vector& OBBMaxsPreScaled() const = 0;
virtual const Vector& OBBMins() const = 0;
virtual const Vector& OBBMaxs() const = 0;