Garry's Mod Wiki

Log in to edit

VMatrix:Translate

<function name="Translate" parent="VMatrix" type="classfunc"> <description> Translates the matrix by the given vector aka. adds the vector to the translation. Postmultiplies the matrix by a translation matrix (A = AT). </description> <realm>Shared</realm> <args> <arg name="translation" type="Vector">Vector to translate the matrix by.</arg> </args> </function>