Matrix3

indigo.shared.datatypes.Matrix3
See theMatrix3 companion object
final case class Matrix3(mat: Array[Double])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def *(other: Matrix3): Matrix3
def flip(horizontal: Boolean, vertical: Boolean): Matrix3
def prettyPrint: String
def rotate(angle: Radians): Matrix3
def scale(by: Vector2): Matrix3
def toArray: Array[Double]
def toList: List[Double]
def transform(vector: Vector2): Vector2
def ~==(other: Matrix3): Boolean

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val col1: Array[Double]
lazy val col2: Array[Double]
lazy val col3: Array[Double]
lazy val row1: Array[Double]
lazy val row2: Array[Double]
lazy val row3: Array[Double]