예제 #1
0
            public int AddFace(FaceInstance tmp)
            {
                if (!Seek())
                {
                    return(-1);
                }

                Faces[Position] = tmp;

                Count++;
                NeedsUpdating = true;
                Full          = (Count == Size);
                return(Position);
            }
예제 #2
0
            public int AddFace(FaceInstance tmp)
            {
                if (!Seek()) return -1;

                    Faces[Position] = tmp;

                    Count++;
                    NeedsUpdating = true;
                    Full = (Count == Size);
                    return Position;
            }