public bool Equals(TextureVoxel other) { return(Empty == other.Empty && TextureMapIndex == other.TextureMapIndex && DetailMapIndex == other.DetailMapIndex && AlphaLevel == other.AlphaLevel); }
/// <summary> /// Copy textured voxel to new instance /// </summary> /// <param name="textureVoxel"></param> /// <param name="facesToRender">Optional faces to render</param> public TextureVoxel(TextureVoxel textureVoxel) { _hasTexture = textureVoxel._hasTexture; _textureMapIndex = textureVoxel._textureMapIndex; _detailMapIndex = textureVoxel._detailMapIndex; _alphaLevel = textureVoxel._alphaLevel; }