Garry's Mod Wiki

VMatrix

List of all possible functions to manipulate matrices.

This object can be created by Matrix.

Metamethod Second Operand Description
__add VMatrix Returns new VMatrix with the result of addition.
__eq any Compares 2 operands, if they both are VMatrix, compares each individual component.
__mul VMatrix or Vector Returns new VMatrix with the result of multiplication.
__sub VMatrix Returns new VMatrix with the result of subtraction.
__tostring Returns a string in format [%f,\t%f,\t%f,\t%f]\n[%f,\t%f,\t%f,\t%f]\n[%f,\t%f,\t%f,\t%f]\n[%f,\t%f,\t%f,\t%f].

Page Links


Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 4
Generate Html 21
SaveChanges (1) 8
Render Body 0
Render Sidebar 5