Maths API Reference


b5.Maths

The Maths class is a utility class that provides functionality for performing specific mathematical tasks

Methods

mulMatrix(mat1, mat2) – Multiplies matrix mat1 by mat2 returning the result in matrix mat1

preMulMatrix(mat1, mat2) – Pre-multiplies matrix mat1 by mat2 returning the result in matrix mat1

vecMulMatrix(x, y, mat) – Multiplies the x,y point by the supplied matrix mat returning the an object {x, y} containing the result

 

541 total views, 1 views today