mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
physics: fix a lot of problems
This commit is contained in:
@@ -794,7 +794,10 @@ struct dfaceid_t
|
||||
#if defined( _X360 )
|
||||
#pragma bitfield_order( push, lsb_to_msb )
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#pragma warning( disable:4201 ) // C4201: nonstandard extension used: nameless struct/union
|
||||
#endif
|
||||
struct dleaf_version_0_t
|
||||
{
|
||||
DECLARE_BYTESWAP_DATADESC();
|
||||
|
||||
@@ -770,8 +770,8 @@ void ClearNeighborData( CCoreDispInfo *pDisp )
|
||||
void GetDispBox( CCoreDispInfo *pDisp, CDispBox &box )
|
||||
{
|
||||
// Calculate the bbox for this displacement.
|
||||
Vector vMin( 1e16, 1e16, 1e16 );
|
||||
Vector vMax( -1e16, -1e16, -1e16 );
|
||||
Vector vMin( 1e24, 1e24, 1e24 );
|
||||
Vector vMax( -1e24, -1e24, -1e24 );
|
||||
|
||||
for ( int iVert = 0; iVert < 4; ++iVert )
|
||||
{
|
||||
|
||||
@@ -156,6 +156,8 @@ public:
|
||||
void ActivateSteamControllerActionSet( GameActionSet_t eActionSet ) {
|
||||
ActivateSteamControllerActionSetForSlot( 0xffffffffffffffff, eActionSet );
|
||||
}
|
||||
|
||||
virtual void StartTextInput() = 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -311,7 +311,7 @@ CPositionInterpolator_Rope::CPositionInterpolator_Rope()
|
||||
m_nSegments = 5;
|
||||
|
||||
for( int i=0; i < 2; i++ )
|
||||
m_Delegate.m_CurEndPoints[i] = Vector( 1e16, 1e16, 1e16 );
|
||||
m_Delegate.m_CurEndPoints[i] = Vector( 1e24, 1e24, 1e24 );
|
||||
}
|
||||
|
||||
void CPositionInterpolator_Rope::Release()
|
||||
|
||||
Reference in New Issue
Block a user