/// <summary>
 /// Multiplies this transform with the given other transform.
 /// It will then return a new transform containing the result of the operation.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public HairStrandVertexTransform Multiply(HairStrandVertexTransform other)
 {
     return new HairStrandVertexTransform(Vector3.MultiplyQuaternion(other.translation, this.rotation) + this.translation, Quaternion.TressFXMultiply(this.rotation, other.rotation));
 }
Beispiel #2
0
 /// <summary>
 /// Multiplies this transform with the given other transform.
 /// It will then return a new transform containing the result of the operation.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public HairStrandVertexTransform Multiply(HairStrandVertexTransform other)
 {
     return(new HairStrandVertexTransform(Vector3.MultiplyQuaternion(other.translation, this.rotation) + this.translation, Quaternion.TressFXMultiply(this.rotation, other.rotation)));
 }