FromLookAt

function

FromLookAt(_from, _to, _up)

Description

Initializes a look-at matrix.

Arguments

Name Type Description
_from BBMOD_Vec3 The position of the camera.
_to BBMOD_Vec3 The position where the camera is looking at.
_up BBMOD_Vec3 The direction up.

Returns

BBMOD_Matrix Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.