OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / direct3d9 / WeldEpsilons.cpp
diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d9/WeldEpsilons.cpp b/SlimDXc_Jun2010(VC++2008)/source/direct3d9/WeldEpsilons.cpp
deleted file mode 100644 (file)
index af67636..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-#include "stdafx.h"\r
-/*\r
-* Copyright (c) 2007-2010 SlimDX Group\r
-* \r
-* Permission is hereby granted, free of charge, to any person obtaining a copy\r
-* of this software and associated documentation files (the "Software"), to deal\r
-* in the Software without restriction, including without limitation the rights\r
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-* copies of the Software, and to permit persons to whom the Software is\r
-* furnished to do so, subject to the following conditions:\r
-* \r
-* The above copyright notice and this permission notice shall be included in\r
-* all copies or substantial portions of the Software.\r
-* \r
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
-* THE SOFTWARE.\r
-*/\r
-#include "WeldEpsilons.h"\r
-\r
-using namespace System;\r
-\r
-namespace SlimDX\r
-{\r
-namespace Direct3D9\r
-{\r
-       bool WeldEpsilons::operator == ( WeldEpsilons left, WeldEpsilons right )\r
-       {\r
-               return WeldEpsilons::Equals( left, right );\r
-       }\r
-\r
-       bool WeldEpsilons::operator != ( WeldEpsilons left, WeldEpsilons right )\r
-       {\r
-               return !WeldEpsilons::Equals( left, right );\r
-       }\r
-\r
-       int WeldEpsilons::GetHashCode()\r
-       {\r
-               return Position.GetHashCode() + BlendWeights.GetHashCode() + Normal.GetHashCode() + PointSize.GetHashCode() +\r
-                        + Diffuse.GetHashCode() + Specular.GetHashCode() + TextureCoordinate1.GetHashCode()\r
-                        + TextureCoordinate2.GetHashCode() + TextureCoordinate3.GetHashCode() + TextureCoordinate4.GetHashCode()\r
-                        + TextureCoordinate5.GetHashCode() + TextureCoordinate6.GetHashCode() + TextureCoordinate7.GetHashCode()\r
-                        + TextureCoordinate8.GetHashCode() + Tangent.GetHashCode() + Binormal.GetHashCode() + TessellationFactor.GetHashCode();\r
-       }\r
-\r
-       bool WeldEpsilons::Equals( Object^ value )\r
-       {\r
-               if( value == nullptr )\r
-                       return false;\r
-\r
-               if( value->GetType() != GetType() )\r
-                       return false;\r
-\r
-               return Equals( safe_cast<WeldEpsilons>( value ) );\r
-       }\r
-\r
-       bool WeldEpsilons::Equals( WeldEpsilons value )\r
-       {\r
-               return ( Position == value.Position && BlendWeights == value.BlendWeights && Normal == value.Normal && PointSize == value.PointSize\r
-                        && Diffuse == value.Diffuse && Specular == value.Specular && TextureCoordinate1 == value.TextureCoordinate1\r
-                        && TextureCoordinate2 == value.TextureCoordinate2 && TextureCoordinate3 == value.TextureCoordinate3 && TextureCoordinate4 == value.TextureCoordinate4\r
-                        && TextureCoordinate5 == value.TextureCoordinate5 && TextureCoordinate6 == value.TextureCoordinate6 && TextureCoordinate7 == value.TextureCoordinate7\r
-                        && TextureCoordinate8 == value.TextureCoordinate8 && Tangent == value.Tangent && Binormal == value.Binormal && TessellationFactor == value.TessellationFactor );\r
-       }\r
-\r
-       bool WeldEpsilons::Equals( WeldEpsilons% value1, WeldEpsilons% value2 )\r
-       {\r
-               return ( value1.Position == value2.Position && value1.BlendWeights == value2.BlendWeights && value1.Normal == value2.Normal && value1.PointSize == value2.PointSize\r
-                        && value1.Diffuse == value2.Diffuse && value1.Specular == value2.Specular && value1.TextureCoordinate1 == value2.TextureCoordinate1\r
-                        && value1.TextureCoordinate2 == value2.TextureCoordinate2 && value1.TextureCoordinate3 == value2.TextureCoordinate3 && value1.TextureCoordinate4 == value2.TextureCoordinate4\r
-                        && value1.TextureCoordinate5 == value2.TextureCoordinate5 && value1.TextureCoordinate6 == value2.TextureCoordinate6 && value1.TextureCoordinate7 == value2.TextureCoordinate7\r
-                        && value1.TextureCoordinate8 == value2.TextureCoordinate8 && value1.Tangent == value2.Tangent && value1.Binormal == value2.Binormal && value1.TessellationFactor == value2.TessellationFactor );\r
-       }\r
-}\r
-}
\ No newline at end of file