mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Merge branch 'development' of https://github.com/GarageGames/Torque3D into PBR_ProbeArrayGLWIP
# Conflicts: # Engine/source/gfx/D3D11/gfxD3D11Device.cpp # Engine/source/lighting/lightManager.cpp # Templates/Full/game/levels/Empty Room.mis # Templates/Full/game/levels/Empty Terrain.mis
This commit is contained in:
commit
97ec99f704
235 changed files with 7064 additions and 3090 deletions
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
#define M_CONST_E_F 2.7182818284590452353602874f
|
||||
|
||||
#define POINT_EPSILON (1e-4) ///< Epsilon for point types.
|
||||
#define POINT_EPSILON (0.0001f) ///< Epsilon for point types.
|
||||
|
||||
|
||||
/// Result of an overlap test.
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ void Frustum::setNearFarDist( F32 nearDist, F32 farDist )
|
|||
// Recalculate the frustum.
|
||||
MatrixF xfm( mTransform );
|
||||
|
||||
const F32 CENTER_EPSILON = 0.001;
|
||||
const F32 CENTER_EPSILON = 0.001f;
|
||||
F32 centerX = mNearLeft + (mNearRight - mNearLeft) * 0.5;
|
||||
F32 centerY = mNearBottom + (mNearTop - mNearBottom) * 0.5;
|
||||
if ((centerX > CENTER_EPSILON || centerX < -CENTER_EPSILON) || (centerY > CENTER_EPSILON || centerY < -CENTER_EPSILON) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue