BlitzMax

BlitzMax

  • Downloads
  • Docs
  • API
  • Resources
  • About

›BRL.Matrix

BRL.Matrix

  • SMat2
  • SMat2F
  • SMat2I
  • SMat3
  • SMat3F
  • SMat3I
  • SMat4
  • SMat4F
  • SMat4I
Edit

SMat3

A 3x3 matrix.

Constructors

Method New(a:Double, b:Double, c:Double, d:Double, e:Double, f:Double, g:Double, h:Double, i:Double)

Creates a new SMat3 from the supplied arguments.


Operators

Method Operator+:SMat3(z:SMat3 Var)

Adds z to the matrix, returning a new matrix.


Method Operator-:SMat3(z:SMat3 Var)

Subtracts z from the matrix, returning a new matrix.


Method Operator*:SMat3(z:SMat3 Var)

Multiplies the matrix by z, returning a new matrix.


Methods

Method Apply:SVec2(v:SVec2)

Applies the matrix to the vector v, returning a new vector.


Method Apply:SVec3(v:SVec3)

Applies the matrix to the vector v, returning a new vector.


Method Adjoint:SMat3()

Returns the transposition of the cofactor matrix.


Method CompMul:SMat3(z:SMat3 Var)

Multiplies the matrix by z by its components, return a new matrix.


Method Determinant:Double()

Returns the determinant of the matrix.


Method Invert:SMat3()

Returns the inverse of the matrix.


Method Rotate:SMat3(angle:Double)

Rotates the matrix by angle degrees, returning a new matrix.


Method Scale:SMat3(s:SVec2)

Scales the matrix by s, returning a new matrix.


Method Transpose:SMat3()

Returns a transposition of the matrix.


Method ToString:String() Override

Returns a String representation of the matrix.


Functions

Function Identity:SMat3()

Return the 3x3 identity matrix.


Function Rotation:SMat3(angle:Double)

Retrns a rotation matrix of angle degrees.


Function Scaling:SMat3(s:SVec2)

Returns a scaling matrix of s.


← SMat2ISMat3F →
  • Constructors
    • Method New(a:Double, b:Double, c:Double, d:Double, e:Double, f:Double, g:Double, h:Double, i:Double)
  • Operators
    • Method Operator+:SMat3(z:SMat3 Var)
    • Method Operator-:SMat3(z:SMat3 Var)
    • Method Operator*:SMat3(z:SMat3 Var)
  • Methods
    • Method Apply:SVec2(v:SVec2)
    • Method Apply:SVec3(v:SVec3)
    • Method Adjoint:SMat3()
    • Method CompMul:SMat3(z:SMat3 Var)
    • Method Determinant:Double()
    • Method Invert:SMat3()
    • Method Rotate:SMat3(angle:Double)
    • Method Scale:SMat3(s:SVec2)
    • Method Transpose:SMat3()
    • Method ToString:String() Override
  • Functions
    • Function Identity:SMat3()
    • Function Rotation:SMat3(angle:Double)
    • Function Scaling:SMat3(s:SVec2)
BlitzMax
Docs
Getting StartedDownloadsAbout
Community
ResourcesSyntaxBomb Forums
More
NewsGitHubStar
Copyright © 2019 Bruce A Henderson