BlitzMax

BlitzMax

  • Downloads
  • Docs
  • API
  • Resources
  • About

›BRL.Geometry

BRL.Geometry

  • SVec2
  • SVec3
  • SMat2
  • SMat3
  • SMat4
  • SQuat
Edit

SMat3

A 3x3 matrix.

Constructors

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

Creates a new SMat3 from the supplied arguments.


Operators

Method Operator+:SMat3(z:SMat3 Var)

Adds z to the matrix, returning the new matrix.


Method Operator-:SMat3(z:SMat3 Var)

Subtracts z from the matrix, returning the new matrix.


Method Operator*:SMat3(z:SMat3 Var)

Multiplies the matrix by z, returning a new matrix.


Methods

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 Det:Float()

Returns the determinant of the matrix.


Method Invert:SMat3()

Returns the inverse of the matrix.


Method Rotate:SMat3(angle:Float)

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 Quat:SMat3(a:SQuat)

Applies the quaternion a to the matrix, returning a new 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:Float)

Retrns a rotation matrix of angle degrees.


Function Scaling:SMat3(s:SVec2)

Returns a scaling matrix of s.


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