예제 #1
0
            public bool Equals(Mesh other)
            {
                if (other == null)
                {
                    return(false);
                }

                return(mName.Equals(other.mName) &&
                       mMaterialIndex.Equals(other.mMaterialIndex) &&
                       mVertexFormatIndex.Equals(other.mVertexFormatIndex) &&
                       mVertexBufferIndex.Equals(other.mVertexBufferIndex) &&
                       mIndexBufferIndex.Equals(other.mIndexBufferIndex) &&
                       mPrimitiveType.Equals(other.mPrimitiveType) &&
                       mFlags.Equals(other.mFlags) &&
                       mStreamOffset.Equals(other.mStreamOffset) &&
                       mStartVertex.Equals(other.mStartVertex) &&
                       mStartIndex.Equals(other.mStartIndex) &&
                       mMinVertexIndex.Equals(other.mMinVertexIndex) &&
                       mVertexCount.Equals(other.mVertexCount) &&
                       mPrimitiveCount.Equals(other.mPrimitiveCount) &&
                       mSkinControllerIndex.Equals(other.mSkinControllerIndex) &&
                       mScaleOffsetIndex.Equals(other.mScaleOffsetIndex) &&
                       mJointReferences.Equals(other.mJointReferences) &&
                       mBounds.Equals(other.mBounds) &&
                       mGeometryStates.Equals(other.mGeometryStates) &&
                       mParentName.Equals(other.mParentName) &&
                       mMirrorPlane.Equals(other.mMirrorPlane) &&
                       mUnknown1.Equals(other.mUnknown1) &&
                       mOwner.Equals(other.mOwner)
                       );
            }
예제 #2
0
 public bool Equals(LODEntry other)
 {
     return
         (mModelLodIndex.Equals(other.mModelLodIndex) &&
          mFlags.Equals(other.mFlags) &&
          mId.Equals(other.mId) &&
          mMinZValue.Equals(other.mMinZValue) &&
          mMaxZValue.Equals(other.mMaxZValue)
         );
 }