コード例 #1
0
ファイル: GLAttributes.cs プロジェクト: zx8326123/LGame
        public override bool Equals(object obj)
        {
            if (!(obj is GLAttributes))
            {
                return(false);
            }
            GLAttributes other = (GLAttributes)obj;

            if (this._attributes.Length != other.Size())
            {
                return(false);
            }
            for (int i = 0; i < _attributes.Length; i++)
            {
                if (!_attributes[i].Equals(other._attributes[i]))
                {
                    return(false);
                }
            }
            return(true);
        }
コード例 #2
0
ファイル: GLMesh.cs プロジェクト: zx8326123/LGame
 public GLMesh(bool isStatic, int maxVertices, int maxIndices,
               GLAttributes attributes)
 {
     isVertexArray = true;
 }
コード例 #3
0
ファイル: GLMesh.cs プロジェクト: ordanielcmessias/LGame
 public GLMesh(bool isStatic, int maxVertices, int maxIndices,
         GLAttributes attributes)
 {
     isVertexArray = true;
 }