Click or drag to resize

QuaternionFFromDirectionZAxisUp Method (Vector3F, QuaternionF)

Similar to Mat3F.LookAt( direction, Vec3F.ZAxis ) with fix for vertical direction.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void FromDirectionZAxisUp(
	ref Vector3F direction,
	out QuaternionF result
)

Parameters

direction
Type: NeoAxisVector3F
result
Type: NeoAxisQuaternionF

Return Value

Type: 
See Also