Exemple #1
0
 /// <summary>
 /// Construct a UV frame with the given U and V planes and scaled negative U and V axes.
 /// </summary>
 /// <param name="uPlane">The plane along with the main U axis lies.</param>
 /// <param name="vPlane">The plane along with the main V axis lies.</param>
 /// <param name="uNegAxis">The scaled direction, parallel to the U plane, in which U values decrease.</param>
 /// <param name="vNegAxis">The scaled direction, parallel to the V plane, in which V values decrease.</param>
 public UVFrame3(Plane uPlane, Plane vPlane, Vector3 uNegAxis, Vector3 vNegAxis)
 {
     this.uPlane   = new SerializablePlane(uPlane.normal, uPlane.distance);
     this.vPlane   = new SerializablePlane(vPlane.normal, vPlane.distance);
     this.uNegAxis = uNegAxis;
     this.vNegAxis = vNegAxis;
 }
Exemple #2
0
 /// <summary>
 /// Construct a UV frame with the given U and V planes and scaled negative U and V axes.
 /// </summary>
 /// <param name="uPlane">The plane along with the main U axis lies.</param>
 /// <param name="vPlane">The plane along with the main V axis lies.</param>
 /// <param name="uNegAxis">The scaled direction, parallel to the U plane, in which U values decrease.</param>
 /// <param name="vNegAxis">The scaled direction, parallel to the V plane, in which V values decrease.</param>
 public UVFrame3(SerializablePlane uPlane, SerializablePlane vPlane, Vector3 uNegAxis, Vector3 vNegAxis)
 {
     this.uPlane   = uPlane;
     this.vPlane   = vPlane;
     this.uNegAxis = uNegAxis;
     this.vNegAxis = vNegAxis;
 }