Matrix4

final case class Matrix4(mat: List[Double])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def *(other: Matrix4): Matrix4
def prettyPrint: String
def rotate(angle: Radians): Matrix4
def scale(by: Vector2): Matrix4
def scale(by: Vector3): Matrix4
def scale(byX: Double, byY: Double, byZ: Double): Matrix4
def toList: List[Double]
def transform(vector: Vector3): Vector3
def translate(byX: Double, byY: Double, byZ: Double): Matrix4
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def ~==(other: Matrix4): Boolean

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

lazy val col1: List[Double]
lazy val col2: List[Double]
lazy val col3: List[Double]
lazy val col4: List[Double]
lazy val data: (List[Double], List[Double])
lazy val row1: List[Double]
lazy val row2: List[Double]
lazy val row3: List[Double]
lazy val row4: List[Double]
lazy val x: Double
lazy val y: Double
lazy val z: Double