Vector Math

2D & 3D Transformations

Perform translation, rotation, scaling, reflections, and shears. See the composite matrix calculate in column-major order.

4x4 Matrix
Modelview State
8
Mesh Vertices
3
Rotational Axes
60 FPS
Render Cycle
Transformation Space

Live C++ OpenGL Code

Parameters

Translation
0.0
0.0
Rotation
25
45
Scaling
1.0
1.0
Shear
0.0
Read Guide

Mathematical Trace

Adjust parameters to compute the composite homogeneous matrix.