GLM_GTC_matrix_transform

Header: <glm/gtc/matrix_transform.hpp>

In this page, tmat4x4 stands for mat<4, 4, T, Q>, tvec3 stands for vec<3, T, Q> and tvec2 stands for vec<2, T, Q>.

Some notes on the convention

Coordinate system

Some functions use right handed coordinates by default. Define GLM_FORCE_LEFT_HANDED before including GLM to use left handed coordinate system by default.

Functions that are affected by this setting are:

Clip control

Some functions use the clip space \([-1,1]\) by default. Define GLM_FORCE_DEPTH_ZERO_TO_ONE to use \([0,1]\) clip space by default.

Functions that are affected by this setting are:

Rotation, scaling, and translation

Viewing Transformation (from world coordinates to view coordinates)

Projection (from view coordinates to clip coordinates)

???