aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/materialsystem/deformations.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/materialsystem/deformations.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/materialsystem/deformations.h')
-rw-r--r--mp/src/public/materialsystem/deformations.h116
1 files changed, 58 insertions, 58 deletions
diff --git a/mp/src/public/materialsystem/deformations.h b/mp/src/public/materialsystem/deformations.h
index 429ff297..083ceeb5 100644
--- a/mp/src/public/materialsystem/deformations.h
+++ b/mp/src/public/materialsystem/deformations.h
@@ -1,58 +1,58 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//===========================================================================//
-
-#ifndef DEFORMATIONS_H
-#define DEFORMATIONS_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "tier0/platform.h"
-
-// nonlinear transformations which may be applied to model vertices when rendering. must be powers of two
-enum DeformationType_t
-{
- DEFORMATION_CLAMP_TO_BOX_IN_WORLDSPACE = 1, // minxyz.minsoftness / maxxyz.maxsoftness
-};
-
-
-struct DeformationBase_t // base class. don't use this
-{
- DeformationType_t m_eType;
-};
-
-
-struct BoxDeformation_t : DeformationBase_t
-{
- // don't change the layout without changing code in shaderapidx8!!!!
- Vector m_SourceMins; // cube to clamp within
- float m_flPad0;
- Vector m_SourceMaxes;
- float m_flPad1;
-
- Vector m_ClampMins;
- float m_flPad2;
- Vector m_ClampMaxes;
- float m_flPad3;
-
- FORCEINLINE BoxDeformation_t( void )
- {
- m_eType = DEFORMATION_CLAMP_TO_BOX_IN_WORLDSPACE;
- // invalid cube
- m_SourceMins.Init( 0,0,0 );
- m_SourceMaxes.Init( -1, -1, -1 );
-
- // no clamp
- m_ClampMins.Init( -FLT_MAX, -FLT_MAX, -FLT_MAX );
- m_ClampMaxes.Init( FLT_MAX, FLT_MAX, FLT_MAX );
- }
-
-};
-
-
-
-#endif
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//===========================================================================//
+
+#ifndef DEFORMATIONS_H
+#define DEFORMATIONS_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "tier0/platform.h"
+
+// nonlinear transformations which may be applied to model vertices when rendering. must be powers of two
+enum DeformationType_t
+{
+ DEFORMATION_CLAMP_TO_BOX_IN_WORLDSPACE = 1, // minxyz.minsoftness / maxxyz.maxsoftness
+};
+
+
+struct DeformationBase_t // base class. don't use this
+{
+ DeformationType_t m_eType;
+};
+
+
+struct BoxDeformation_t : DeformationBase_t
+{
+ // don't change the layout without changing code in shaderapidx8!!!!
+ Vector m_SourceMins; // cube to clamp within
+ float m_flPad0;
+ Vector m_SourceMaxes;
+ float m_flPad1;
+
+ Vector m_ClampMins;
+ float m_flPad2;
+ Vector m_ClampMaxes;
+ float m_flPad3;
+
+ FORCEINLINE BoxDeformation_t( void )
+ {
+ m_eType = DEFORMATION_CLAMP_TO_BOX_IN_WORLDSPACE;
+ // invalid cube
+ m_SourceMins.Init( 0,0,0 );
+ m_SourceMaxes.Init( -1, -1, -1 );
+
+ // no clamp
+ m_ClampMins.Init( -FLT_MAX, -FLT_MAX, -FLT_MAX );
+ m_ClampMaxes.Init( FLT_MAX, FLT_MAX, FLT_MAX );
+ }
+
+};
+
+
+
+#endif