Click or drag to resize

UtilCalculateSurfaceNormal Method

Determine the normal to the plane defined by 3 points (origin, left and right).

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public static Vector3 CalculateSurfaceNormal(
	Vector3 v1,
	Vector3 v2,
	Vector3 v3
)

Parameters

v1  Vector3
Origin point
v2  Vector3
Left point
v3  Vector3
Right point

Return Value

Vector3
Surface normal
See Also