Intermact API Reference / @intermact/core / quatLookAt
Function: quatLookAt()
quatLookAt(
eye,target,up?):Quaternion
Defined in: packages/core/src/math/quaternion.ts:113
Quaternion orienting a camera/object at eye to look toward target, with the given world up. Uses a right-handed basis where the view looks down -Z (three.js camera convention).
Parameters
eye
target
up?
Vec3 = ...