mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
math.h -> cmath
This commit is contained in:
@ -41,7 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsGeometry3.h"
|
||||
#include "hsStream.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
hsVector3 operator%(const hsVector3& t, const hsVector3& s)
|
||||
{
|
||||
|
@ -45,7 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "hsQuat.h"
|
||||
#include "hsMatrix44.h"
|
||||
#include "hsStream.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#ifdef HS_SIMD_INCLUDE
|
||||
# include HS_SIMD_INCLUDE
|
||||
|
@ -56,7 +56,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
//#include "../plPipeline/plDebugGeometry.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
|
||||
#include "pfObjectFlocker.h"
|
||||
|
@ -41,7 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
@ -307,4 +307,4 @@ bool plStereizer::CheckForMaster()
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <vorbis/codec.h>
|
||||
#include <vorbis/vorbisfile.h>
|
||||
|
||||
|
@ -60,7 +60,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plPipeline/hsGDeviceRef.h"
|
||||
#include "plProfile.h"
|
||||
#include "plJPEG.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
plProfile_CreateMemCounter("Mipmaps", "Memory", MemMipmaps);
|
||||
|
||||
|
@ -48,7 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plPerspDirSlave.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#ifdef HS_BUILD_FOR_WIN32
|
||||
#define isnan _isnan
|
||||
|
@ -46,7 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plTweak.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#ifdef HS_BUILD_FOR_WIN32
|
||||
#define isnan _isnan
|
||||
|
@ -41,7 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsKeys.h"
|
||||
#include "hsStream.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
const int hsKeyFrame::kMaxFrameNumber = 65535;
|
||||
|
||||
|
@ -45,7 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plController.h"
|
||||
#include "hsFastMath.h"
|
||||
#include "hsResMgr.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
const float kSmallDelTime = 1.e-2f;
|
||||
const float kInvSmallDelTime = 1.f / kSmallDelTime;
|
||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plAvg.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
template class TimeBasedAvgRing<float>;
|
||||
template class TimeBasedAvgRing<double>;
|
||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsGeometry3.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include "plTriUtils.h"
|
||||
|
||||
static const float kAlmostZero = 1.e-5f;
|
||||
@ -328,4 +328,4 @@ bool plTriUtils::ProjectOntoPlaneAlongVector(const hsPoint3& p0, const hsPoint3&
|
||||
float dist = norm.InnerProduct(p0 - p);
|
||||
|
||||
return ProjectOntoPlaneAlongVector(norm, dist, vec, p);
|
||||
}
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "plFogEnvironment.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include "plTweak.h"
|
||||
|
||||
//// Constructors & Destructor ///////////////////////////////////////////////
|
||||
|
@ -44,7 +44,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plVertCoder.h"
|
||||
|
||||
#include "hsStream.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include "plGBufferGroup.h"
|
||||
|
||||
const float kPosQuantum = 1.f / float(1 << 10);
|
||||
|
@ -41,7 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "hsGMaterial.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsMemory.h"
|
||||
@ -334,4 +334,4 @@ bool hsGMaterial::MsgReceive(plMessage* msg)
|
||||
return true;
|
||||
}
|
||||
return plSynchedObject::MsgReceive(msg);
|
||||
}
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
#include <float.h> // for FLT_EPSILON
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include "hsEuler.h"
|
||||
#include "hsQuat.h"
|
||||
#include "hsMatrix44.h"
|
||||
|
@ -44,7 +44,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//
|
||||
// Gems IV. Polar Decomp
|
||||
//
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include "mat_decomp.h"
|
||||
|
||||
/******* Matrix Preliminaries *******/
|
||||
|
@ -51,7 +51,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
// Standard Library
|
||||
#include <algorithm>
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
|
@ -45,7 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "hsTemplates.h"
|
||||
#include "hsWindows.h"
|
||||
#include <commdlg.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <stdmat.h>
|
||||
#include <bmmlib.h>
|
||||
#include <istdplug.h>
|
||||
|
@ -45,7 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "hsHashTable.h"
|
||||
#include "hsStringTokenizer.h"
|
||||
#include "hsResMgr.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include <max.h>
|
||||
#include <stdmat.h>
|
||||
|
@ -49,7 +49,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "MaxComponent/plComponent.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
|
||||
#include <commdlg.h>
|
||||
|
Reference in New Issue
Block a user