Click or drag to resize
Ab4d.SharpEngine logo

MathUtilsIsSame(Vector3, Vector3, Single) Method

Returns true if the difference between the components in Vector3 are smaller than the specified tolerance.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static bool IsSame(
	 in Vector3 position1,
	 in Vector3 position2,
	float tolerance
)

Parameters

position1  Vector3
first Vector3
position2  Vector3
second Vector3
tolerance  Single
float value that specifies how big the difference between values can be so that the values are considered the same

Return Value

Boolean
true if the difference between the components in Vector3 are smaller than the specified tolerance
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MathUtils.IsSame(System.Numerics.Vector3@,System.Numerics.Vector3@,System.Single)"]

See Also