BBMOD_Matrix.FromLookAt

A function defined in BBMOD_Matrix.gml

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 © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.