Matrix4x3.rotateX()

Rotate this matrix on the X axis by the angle given as parameter

Parameters

NameTypeDescription
1anglenumber

Return value

Matrix4x3

the Matrix4x3 with its new values

Usage

import {Matrix4x3, Vector3} from '@lcluber/type6js';

let vector = new Vector3(2,2,2);
let matrix = new Matrix4x3().identity().scale(vector);
matrix.rotateX(2);