public int AddFace(FaceInstance tmp) { if (!Seek()) { return(-1); } Faces[Position] = tmp; Count++; NeedsUpdating = true; Full = (Count == Size); return(Position); }
public int AddFace(FaceInstance tmp) { if (!Seek()) return -1; Faces[Position] = tmp; Count++; NeedsUpdating = true; Full = (Count == Size); return Position; }