Click or drag to resize

QuaternionFFromDirectionZAxisUp Method (Vector3F)

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 QuaternionF FromDirectionZAxisUp(
	Vector3F direction
)

Parameters

direction
Type: NeoAxisVector3F

Return Value

Type: QuaternionF
See Also