/// <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));
 }
Exemplo n.º 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)));
 }