UtilCalculateSurfaceNormal Method |
Determine the normal to the plane defined by 3 points
(origin, left and right).
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static Vector3 CalculateSurfaceNormal(
Vector3 v1,
Vector3 v2,
Vector3 v3
)
Parameters
- v1 Vector3
- Origin point
- v2 Vector3
- Left point
- v3 Vector3
- Right point
Return Value
Vector3Surface normal
See Also