Exemple #1
0
        public BoundingBox(Vector3f vmin, Vector3f vmax)
        {
            minf = vmin.Clone();
            maxf = vmax.Clone();

            min = minf.ToVector3s();
            max = maxf.ToVector3s();
        }
Exemple #2
0
        public BoundingBox(Vector3f vf)
        {
            minf = vf.Clone();
            maxf = vf.Clone();

            min = minf.ToVector3s();
            max = maxf.ToVector3s();
        }
Exemple #3
0
        public Vector3s Move(Vector3s v)
        {
            x += v.X;
            y += v.Y;
            z += v.Z;

            return(this);
        }
Exemple #4
0
 public void Read(BinaryReaderEx br)
 {
     min = new Vector3s(br);
     max = new Vector3s(br);
 }
Exemple #5
0
 public BoundingBox()
 {
     min = new Vector3s(short.MaxValue);
     max = new Vector3s(short.MinValue);
 }
Exemple #6
0
 public BoundingBox(Vector3s vmin, Vector3s vmax)
 {
     min = vmin.Clone();
     max = vmax.Clone();
 }
Exemple #7
0
 public void Read(BinaryReaderEx br)
 {
     position = new Vector3s(br);
     rotation = new Vector3s(br);
 }
Exemple #8
0
 public Pose(Vector3s pos, Vector3s ang)
 {
     position = pos;
     rotation = ang;
 }