A function defined in BBMOD_BaseCamera.gml
update_matrices()
Recomputes camera's view and projection matrices.
Struct.BBMOD_BaseCamera
Returns self
.
/// @desc Step event
camera.set_mouselook(true);
camera.update(delta_time);
if (camera.Position.Z < 0.0)
{
camera.Position.Z = 0.0;
}
camera.update_matrices();
This is called automatically in the BBMOD_BaseCamera.update method, so you do not need to call this unless you modify BBMOD_BaseCamera.Position or BBMOD_BaseCamera.Target after the update
method.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.