Scenic.Math.Matrix.translate

You're seeing just the function translate, go back to Scenic.Math.Matrix module for more information.
Link to this function

translate(matrix, vector_2)

View Source

Specs

translate(
  matrix :: Scenic.Math.matrix(),
  vector_2 :: Scenic.Math.vector_2() | nil
) :: Scenic.Math.matrix()

Multiply a matrix by a translation.

Parameters:

  • matrix: The incoming source matrix
  • vector_2: the vector to translate by or nil (which does nothing)

Returns: A binary matrix