fromToRotation

@NotNull
open fun fromToRotation(@NotNull to: @NotNull Vector3f, @NotNull dest: @NotNull Quaternionf): @NotNull Quaternionf

Gets rotation from vectors

Return

quaternion

Parameters

to

to

dest

destination quaternion


@NotNull
open fun fromToRotation(@NotNull from: @NotNull Vector3f, @NotNull to: @NotNull Vector3f, @NotNull dest: @NotNull Quaternionf): @NotNull Quaternionf

Gets rotation from two vectors

Return

quaternion

Parameters

from

from

to

to

dest

destination quaternion