This tiny release mainly adds support for orthographic camera projection, as requested by one of our Patrons.
ApplyWorld
, ApplyView
and ApplyProjection
to BBMOD_Matrix
, using which you can set it as the current world/view/projection matrix respectively.BBMOD_Matrix.Transform
, using which you can transform a BBMOD_Vec4
with the matrix.BBMOD_Camera.Orthographic
, using which you can enable orthographic projection.BBMOD_Camera.Width
, using which you can configure the width of orthographic projection. Height is computed from BBMOD_Camera.AspectRation
.BBMOD_Camera.world_to_screen
, using which you can get screen-space position of a point in world-space.Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.