openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
common
Platform filter
common
Switch theme
Search in API
openrndr
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