예제 #1
0
        public void Reverse()
        {
            var tmp = new CVector3(Z, Y, X);

            X = tmp.X;
            Z = tmp.Z;
        }
예제 #2
0
 public CBox(BinaryReader br)
 {
     Min = new CVector3(br);
     Max = new CVector3(br);
 }
예제 #3
0
 public CBox()
 {
     Min = new CVector3();
     Max = new CVector3();
 }
예제 #4
0
 public CCylinder(BinaryReader br)
 {
     Base   = new CVector3(br);
     Height = br.ReadSingle();
     Radius = br.ReadSingle();
 }
예제 #5
0
 public CSphere(BinaryReader br)
 {
     Center = new CVector3(br);
     Radius = br.ReadSingle();
 }
예제 #6
0
 public CSegment(BinaryReader br)
 {
     Color   = new CVector3(br);
     Alpha   = br.ReadSingle();
     Scaling = br.ReadSingle();
 }