FromLookAt

function

FromLookAt(_from, _to, _up)

Description

Initializes a look-at matrix.

Arguments

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

Returns

Struct.BBMOD_Matrix Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.