openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-math
/
org.openrndr.math
/
Quaternion
/
Companion
/
fromLookAt
from
Look
At
fun
fromLookAt
(
from
:
Vector3
,
to
:
Vector3
,
up
:
Vector3
=
Vector3.UNIT_Y
)
:
Quaternion
(
source
)
Construct
Quaternion
using from, to and up vectors