Ejemplo n.º 1
0
 /// <summary>
 /// Returns <see langword="true"/> if this transform and <paramref name="other"/> are approximately equal,
 /// by running <see cref="Vector3.IsEqualApprox(Vector3)"/> on each component.
 /// </summary>
 /// <param name="other">The other transform to compare.</param>
 /// <returns>Whether or not the matrices are approximately equal.</returns>
 public bool IsEqualApprox(Transform3D other)
 {
     return(basis.IsEqualApprox(other.basis) && origin.IsEqualApprox(other.origin));
 }