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); }
public GLMesh(bool isStatic, int maxVertices, int maxIndices, GLAttributes attributes) { isVertexArray = true; }