EPOK RUNTIME
Gte Geometry
gte_geometry.hpp · Geometry Transformation Engine math and register operations
Module
Geometry Transformation Engine math and register operations.
Include this module
C++ include
#include "gte_geometry.hpp"Types
This module does not declare public types.
Functions and methods
load_geometry_matrixUse MAC1..3, not the saturated 16-bit IR registers: the existing renderer's Q12 camera coordinates regularly exceed +/-8 world units.Function templateload_projection_matrixLoads projection matrix as part of Geometry Transformation Engine math and register operations.Function templateload_projection_screenH is the pixel focal length shared by both axes; offsets are the screen centre.Functionproject_geometry_vertexCamera output is Q8 with Y up.Functiontransform_geometry_vertexPerforms `transform geometry vertex` as part of Geometry Transformation Engine math and register operations.Function