Click or drag to resize

UtilMidPoint Method

Return a Vector3 that is midPoint units along the line from a to b. Eg, midPoint=0.5 returns the point half way between a and b

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static Vector3 MidPoint(
	Vector3 a,
	Vector3 b,
	double midPoint
)

Parameters

a
Type: Microsoft.DirectXVector3
Start
b
Type: Microsoft.DirectXVector3
End
midPoint
Type: SystemDouble
Fraction along line

Return Value

Type: Vector3
Result
Remarks
See Also