Exemplo n.º 1
0
 public SelectionBox()
 {
     mPlaneVertices[0] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U        = 0,
         V        = 0,
         S        = 0,
     };
     mPlaneVertices[1] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U        = 0,
         V        = 1,
         S        = 0,
     };
     mPlaneVertices[2] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U        = 1,
         V        = 1,
         S        = 0,
     };
     mPlaneVertices[3] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U        = 1,
         V        = 0,
         S        = 0,
     };
     mPlaneVertices[4] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U        = 0,
         V        = 0,
         S        = 1,
     };
     mPlaneVertices[5] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U        = 0,
         V        = 1,
         S        = 1,
     };
     mPlaneVertices[6] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U        = 1,
         V        = 1,
         S        = 1,
     };
     mPlaneVertices[7] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U        = 1,
         V        = 0,
         S        = 1,
     };
 }
Exemplo n.º 2
0
 public SelectionBox()
 {
     mPlaneVertices[0] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U = 0,
         V = 0,
         S = 0,
     };
     mPlaneVertices[1] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U = 0,
         V = 1,
         S = 0,
     };
     mPlaneVertices[2] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U = 1,
         V = 1,
         S = 0,
     };
     mPlaneVertices[3] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U = 1,
         V = 0,
         S = 0,
     };
     mPlaneVertices[4] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U = 0,
         V = 0,
         S = 1,
     };
     mPlaneVertices[5] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U = 0,
         V = 1,
         S = 1,
     };
     mPlaneVertices[6] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U = 1,
         V = 1,
         S = 1,
     };
     mPlaneVertices[7] = new LinePlaneVertex()
     {
         Position = Vector3.Zero,
         U = 1,
         V = 0,
         S = 1,
     };
 }