Matrix

About Matrix

Type: Gideros class
License: MIT LIcense
Supported platforms:

       

Categories:
  • Algorithms
  • Graphics
  • Math

Matrix extensions based on GiderosCodingEasy by ar2rsawseen with a few fixes/changes.

Visit Matrix website

Developed by: Nathan Shafer

Sharing is caring:

Code example:

local matrix = Matrix.new()
matrix:translate(self._positionX, self._positionY)
matrix:rotate(self._rotation)
matrix:scaleX(self._scaleX)
matrix:scaleY(self._scaleY)
matrix:translate(-anchorOffsetX, -anchorOffsetY)
self:setMatrix(matrix)