Example #1
0
        public bool startsolid; // if true, the initial point was in a solid area

        #endregion Fields

        #region Methods

        public void CopyFrom(trace_t src)
        {
            this.allsolid = src.allsolid;
            this.startsolid = src.startsolid;
            this.inopen = src.inopen;
            this.inwater = src.inwater;
            this.fraction = src.fraction;
            this.endpos = src.endpos;
            this.plane = src.plane;
            this.ent = src.ent;
        }
Example #2
0
        public edict_t ent;     // entity the surface is on

        public void CopyFrom(trace_t src)
        {
            allsolid   = src.allsolid;
            startsolid = src.startsolid;
            inopen     = src.inopen;
            inwater    = src.inwater;
            fraction   = src.fraction;
            endpos     = src.endpos;
            plane      = src.plane;
            ent        = src.ent;
        }
Example #3
0
        public edict_t ent;     // entity the surface is on

        public void CopyFrom(trace_t src)
        {
            this.allsolid   = src.allsolid;
            this.startsolid = src.startsolid;
            this.inopen     = src.inopen;
            this.inwater    = src.inwater;
            this.fraction   = src.fraction;
            this.endpos     = src.endpos;
            this.plane      = src.plane;
            this.ent        = src.ent;
        }