示例#1
0
 internal NhtrBaseItem(NhtrList parent, byte marker) : base(parent)
 {
     marker2 = marker;
     pos     = Vector3f.Zero;
     min     = Vector2f.Zero;
     max     = Vector2f.Zero;
 }
示例#2
0
        SimPe.Geometry.Vector3f Correct(SimPe.Geometry.Vector3f t, object cor)
        {
            if (cor == null)
            {
                return(t);
            }
            if (cor is SimPe.Geometry.Quaternion)
            {
                return(t);
            }
            if (!(cor is SimPe.Geometry.Vector3f))
            {
                return(t);
            }

            return(t + (SimPe.Geometry.Vector3f)cor);
        }