@tlua/gmod 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/achievementicon.d.tlua +0 -1
- package/types/achievements.d.tlua +0 -31
- package/types/ai.d.tlua +0 -11
- package/types/ai_schedule.d.tlua +0 -1
- package/types/ai_task.d.tlua +0 -1
- package/types/angle.d.tlua +0 -37
- package/types/avatarimage.d.tlua +0 -1
- package/types/awesomium.d.tlua +0 -1
- package/types/baseclass.d.tlua +0 -4
- package/types/bf_read.d.tlua +0 -23
- package/types/bit.d.tlua +0 -23
- package/types/button.d.tlua +0 -1
- package/types/cam.d.tlua +0 -33
- package/types/ceffectdata.d.tlua +0 -65
- package/types/chat.d.tlua +0 -11
- package/types/checkbutton.d.tlua +0 -1
- package/types/cleanup.d.tlua +0 -15
- package/types/cluaemitter.d.tlua +0 -25
- package/types/clualocomotion.d.tlua +0 -81
- package/types/cluaparticle.d.tlua +0 -89
- package/types/cmovedata.d.tlua +0 -95
- package/types/cnavarea.d.tlua +0 -155
- package/types/cnavladder.d.tlua +0 -45
- package/types/cnewparticleeffect.d.tlua +0 -53
- package/types/color.d.tlua +0 -57
- package/types/concommand.d.tlua +0 -9
- package/types/constraint.d.tlua +0 -57
- package/types/construct.d.tlua +0 -3
- package/types/contentheader.d.tlua +1 -6
- package/types/contenticon.d.tlua +1 -18
- package/types/contentsidebar.d.tlua +1 -8
- package/types/contentsidebartoolbox.d.tlua +0 -1
- package/types/contextbase.d.tlua +1 -8
- package/types/controlpanel.d.tlua +6 -31
- package/types/controlpresets.d.tlua +1 -26
- package/types/convar.d.tlua +0 -33
- package/types/cookie.d.tlua +0 -7
- package/types/coroutine.d.tlua +0 -15
- package/types/crecipientfilter.d.tlua +0 -33
- package/types/csent.d.tlua +0 -1
- package/types/csoundpatch.d.tlua +0 -29
- package/types/ctakedamageinfo.d.tlua +0 -67
- package/types/ctrllistbox.d.tlua +0 -1
- package/types/ctrlnumpad.d.tlua +0 -13
- package/types/cusercmd.d.tlua +0 -55
- package/types/custom_entity_fields.d.tlua +0 -1
- package/types/cvars.d.tlua +0 -13
- package/types/dadjustablemodelpanel.d.tlua +1 -14
- package/types/dalphabar.d.tlua +1 -6
- package/types/dbinder.d.tlua +1 -8
- package/types/dbubblecontainer.d.tlua +1 -4
- package/types/dbutton.d.tlua +1 -16
- package/types/dcategoryheader.d.tlua +0 -1
- package/types/dcategorylist.d.tlua +0 -1
- package/types/dcheckbox.d.tlua +1 -10
- package/types/dcheckboxlabel.d.tlua +0 -19
- package/types/dcollapsiblecategory.d.tlua +1 -46
- package/types/dcolorbutton.d.tlua +1 -14
- package/types/dcolorcombo.d.tlua +1 -10
- package/types/dcolorcube.d.tlua +1 -26
- package/types/dcolormixer.d.tlua +1 -54
- package/types/dcolorpalette.d.tlua +1 -46
- package/types/dcolumnsheet.d.tlua +1 -10
- package/types/dcombobox.d.tlua +1 -34
- package/types/ddragbase.d.tlua +1 -26
- package/types/ddrawer.d.tlua +1 -16
- package/types/debug.d.tlua +25 -60
- package/types/debugoverlay.d.tlua +0 -23
- package/types/dentityproperties.d.tlua +1 -10
- package/types/derma.d.tlua +0 -21
- package/types/dexpandbutton.d.tlua +1 -6
- package/types/dfilebrowser.d.tlua +0 -41
- package/types/dform.d.tlua +1 -36
- package/types/dframe.d.tlua +0 -49
- package/types/dgrid.d.tlua +1 -22
- package/types/dhorizontaldivider.d.tlua +1 -40
- package/types/dhorizontalscroller.d.tlua +1 -22
- package/types/dhscrollbar.d.tlua +1 -22
- package/types/dhtml.d.tlua +1 -16
- package/types/dhtmlcontrols.d.tlua +0 -11
- package/types/diconbrowser.d.tlua +1 -22
- package/types/diconlayout.d.tlua +1 -36
- package/types/dimage.d.tlua +1 -39
- package/types/dimagebutton.d.tlua +0 -19
- package/types/dkillicon.d.tlua +0 -1
- package/types/dlabel.d.tlua +1 -66
- package/types/dlabeleditable.d.tlua +1 -10
- package/types/dlabelurl.d.tlua +1 -20
- package/types/dlistbox.d.tlua +1 -16
- package/types/dlistboxitem.d.tlua +1 -8
- package/types/dlistlayout.d.tlua +0 -1
- package/types/dlistview.d.tlua +1 -68
- package/types/dlistview_column.d.tlua +1 -28
- package/types/dlistview_columnplain.d.tlua +0 -1
- package/types/dlistview_draggerbar.d.tlua +0 -1
- package/types/dlistview_line.d.tlua +1 -26
- package/types/dlistviewheaderlabel.d.tlua +0 -1
- package/types/dlistviewlabel.d.tlua +0 -1
- package/types/dlistviewline.d.tlua +0 -1
- package/types/dmenu.d.tlua +1 -53
- package/types/dmenubar.d.tlua +1 -11
- package/types/dmenuoption.d.tlua +1 -26
- package/types/dmenuoptioncvar.d.tlua +1 -12
- package/types/dmodelpanel.d.tlua +1 -44
- package/types/dmodelselect.d.tlua +1 -4
- package/types/dmodelselectmulti.d.tlua +1 -4
- package/types/dnotify.d.tlua +1 -20
- package/types/dnumberscratch.d.tlua +1 -52
- package/types/dnumberwang.d.tlua +1 -32
- package/types/dnumpad.d.tlua +0 -1
- package/types/dnumslider.d.tlua +0 -35
- package/types/dpanel.d.tlua +1 -28
- package/types/dpanellist.d.tlua +0 -23
- package/types/dpaneloverlay.d.tlua +1 -14
- package/types/dpanelselect.d.tlua +0 -1
- package/types/dpanpanel.d.tlua +1 -12
- package/types/dprogress.d.tlua +1 -6
- package/types/dproperties.d.tlua +1 -8
- package/types/dproperty_boolean.d.tlua +0 -1
- package/types/dproperty_combo.d.tlua +1 -6
- package/types/dproperty_entity.d.tlua +0 -1
- package/types/dproperty_float.d.tlua +0 -1
- package/types/dproperty_generic.d.tlua +1 -10
- package/types/dproperty_int.d.tlua +0 -1
- package/types/dproperty_vectorcolor.d.tlua +0 -1
- package/types/dpropertysheet.d.tlua +9 -41
- package/types/dragndrop.d.tlua +0 -21
- package/types/draw.d.tlua +0 -22
- package/types/drgbpicker.d.tlua +1 -8
- package/types/drive.d.tlua +6 -31
- package/types/dscrollbargrip.d.tlua +0 -1
- package/types/dscrollpanel.d.tlua +0 -21
- package/types/dshape.d.tlua +1 -14
- package/types/dsizetocontents.d.tlua +1 -10
- package/types/dslider.d.tlua +1 -56
- package/types/dsprite.d.tlua +1 -18
- package/types/dtab.d.tlua +1 -16
- package/types/dtextentry.d.tlua +1 -86
- package/types/dtilelayout.d.tlua +1 -42
- package/types/dtooltip.d.tlua +1 -12
- package/types/dtree.d.tlua +1 -32
- package/types/dtree_node.d.tlua +1 -136
- package/types/dtree_node_button.d.tlua +0 -1
- package/types/duplicator.d.tlua +0 -60
- package/types/dverticaldivider.d.tlua +1 -46
- package/types/dvscrollbar.d.tlua +1 -22
- package/types/editablepanel.d.tlua +0 -1
- package/types/effect.d.tlua +1 -8
- package/types/effects.d.tlua +0 -13
- package/types/engine.d.tlua +0 -43
- package/types/entity.d.tlua +2 -1319
- package/types/ents.d.tlua +0 -44
- package/types/enums.d.tlua +0 -1
- package/types/file.d.tlua +0 -79
- package/types/file_class.d.tlua +0 -1
- package/types/fingerposer.d.tlua +0 -1
- package/types/fingervar.d.tlua +0 -1
- package/types/frame.d.tlua +0 -1
- package/types/frame_blend.d.tlua +0 -15
- package/types/game.d.tlua +0 -79
- package/types/gameevent.d.tlua +4 -9
- package/types/gamemode.d.tlua +0 -6
- package/types/global.d.tlua +0 -18
- package/types/gm.d.tlua +0 -535
- package/types/gmod.d.tlua +0 -1
- package/types/gmsave.d.tlua +0 -9
- package/types/gui.d.tlua +0 -43
- package/types/gwen.d.tlua +0 -7
- package/types/halo.d.tlua +0 -5
- package/types/hammer.d.tlua +0 -1
- package/types/hook.d.tlua +0 -9
- package/types/html.d.tlua +0 -1
- package/types/http.d.tlua +0 -3
- package/types/iconeditor.d.tlua +1 -22
- package/types/igmodaudiochannel.d.tlua +0 -83
- package/types/imagecheckbox.d.tlua +1 -8
- package/types/imaterial.d.tlua +0 -53
- package/types/imesh.d.tlua +0 -11
- package/types/input.d.tlua +0 -47
- package/types/invalidateinternalentitycache.d.tlua +0 -1
- package/types/irestore.d.tlua +0 -19
- package/types/isave.d.tlua +0 -19
- package/types/itexture.d.tlua +0 -21
- package/types/ivideowriter.d.tlua +0 -11
- package/types/jit.d.tlua +9 -42
- package/types/killicon.d.tlua +0 -15
- package/types/label.d.tlua +0 -1
- package/types/language.d.tlua +0 -3
- package/types/list.d.tlua +0 -17
- package/types/makeballoon.d.tlua +0 -1
- package/types/markup.d.tlua +0 -5
- package/types/markupobject.d.tlua +0 -11
- package/types/material.d.tlua +0 -1
- package/types/math.d.tlua +200 -371
- package/types/matproxy.d.tlua +0 -7
- package/types/matselect.d.tlua +1 -22
- package/types/menu.d.tlua +0 -1
- package/types/menubar.d.tlua +0 -5
- package/types/mesh.d.tlua +0 -39
- package/types/modelimage.d.tlua +0 -1
- package/types/motionsensor.d.tlua +0 -21
- package/types/navmesh.d.tlua +0 -53
- package/types/net.d.tlua +0 -104
- package/types/nextbot.d.tlua +10 -83
- package/types/notification.d.tlua +0 -5
- package/types/npc.d.tlua +1 -364
- package/types/numpad.d.tlua +0 -15
- package/types/os.d.tlua +0 -8
- package/types/package.d.tlua +0 -1
- package/types/panel.d.tlua +2 -662
- package/types/panellist.d.tlua +0 -1
- package/types/pathfollower.d.tlua +0 -63
- package/types/permissions.d.tlua +0 -13
- package/types/physcollide.d.tlua +0 -7
- package/types/physenv.d.tlua +0 -23
- package/types/physobj.d.tlua +0 -157
- package/types/pixelvis_handle_t.d.tlua +0 -1
- package/types/player.d.tlua +11 -594
- package/types/player_manager.d.tlua +0 -27
- package/types/preseteditor.d.tlua +0 -1
- package/types/presets.d.tlua +0 -13
- package/types/projectedtexture.d.tlua +0 -97
- package/types/properties.d.tlua +0 -11
- package/types/propselect.d.tlua +1 -10
- package/types/radiobutton.d.tlua +0 -1
- package/types/render.d.tlua +0 -285
- package/types/resource.d.tlua +0 -5
- package/types/richtext.d.tlua +0 -1
- package/types/sandbox.d.tlua +1 -108
- package/types/saverestore.d.tlua +0 -25
- package/types/schedule.d.tlua +0 -13
- package/types/scripted_ents.d.tlua +0 -21
- package/types/search.d.tlua +0 -3
- package/types/serverlist.d.tlua +0 -15
- package/types/slidebar.d.tlua +0 -1
- package/types/slider.d.tlua +0 -1
- package/types/sound.d.tlua +0 -21
- package/types/spawnicon.d.tlua +1 -16
- package/types/spawnmenu.d.tlua +0 -48
- package/types/spawnmenucontentpanel.d.tlua +1 -10
- package/types/sql.d.tlua +0 -19
- package/types/stack.d.tlua +0 -11
- package/types/steamworks.d.tlua +0 -37
- package/types/string.d.tlua +0 -96
- package/types/structures.d.tlua +0 -7
- package/types/surface.d.tlua +0 -69
- package/types/surfaceinfo.d.tlua +0 -11
- package/types/system.d.tlua +0 -21
- package/types/table.d.tlua +0 -93
- package/types/task.d.tlua +0 -19
- package/types/team.d.tlua +0 -39
- package/types/textentry.d.tlua +0 -1
- package/types/tgaimage.d.tlua +0 -1
- package/types/timer.d.tlua +0 -29
- package/types/tool.d.tlua +1 -90
- package/types/ugcpublishwindow.d.tlua +1 -18
- package/types/umsg.d.tlua +0 -25
- package/types/undo.d.tlua +0 -21
- package/types/urllabel.d.tlua +0 -1
- package/types/usermessage.d.tlua +0 -5
- package/types/utf8.d.tlua +0 -15
- package/types/util.d.tlua +0 -185
- package/types/vector.d.tlua +0 -73
- package/types/vehicle.d.tlua +2 -102
- package/types/vgui.d.tlua +0 -33
- package/types/video.d.tlua +0 -1
- package/types/vmatrix.d.tlua +0 -71
- package/types/weapon.d.tlua +2 -168
- package/types/weapons.d.tlua +0 -12
- package/types/widgets.d.tlua +0 -3
- package/types/workshopfilebase.d.tlua +0 -11
package/types/vmatrix.d.tlua
CHANGED
|
@@ -14,9 +14,7 @@ interface VMatrix {
|
|
|
14
14
|
__mul(l: VMatrix, r: Vector): Vector;
|
|
15
15
|
__mul(l: VMatrix, r: VMatrix): VMatrix;
|
|
16
16
|
__unm(m: VMatrix): VMatrix;
|
|
17
|
-
}
|
|
18
17
|
|
|
19
|
-
interface VMatrix {
|
|
20
18
|
/**
|
|
21
19
|
* Adds given matrix to this matrix.
|
|
22
20
|
*
|
|
@@ -24,27 +22,21 @@ interface VMatrix {
|
|
|
24
22
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Add
|
|
25
23
|
*/
|
|
26
24
|
Add(self: VMatrix, input: VMatrix): void;
|
|
27
|
-
}
|
|
28
25
|
|
|
29
|
-
interface VMatrix {
|
|
30
26
|
/**
|
|
31
27
|
* Returns the absolute rotation of the matrix. Scaled matrix might produce unexpected results!
|
|
32
28
|
* @realm shared
|
|
33
29
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetAngles
|
|
34
30
|
*/
|
|
35
31
|
GetAngles(self: VMatrix): Angle;
|
|
36
|
-
}
|
|
37
32
|
|
|
38
|
-
interface VMatrix {
|
|
39
33
|
/**
|
|
40
34
|
* Returns a specific field in the matrix.
|
|
41
35
|
* @realm shared
|
|
42
36
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetField
|
|
43
37
|
*/
|
|
44
38
|
GetField(self: VMatrix, row: number, column: number): number;
|
|
45
|
-
}
|
|
46
39
|
|
|
47
|
-
interface VMatrix {
|
|
48
40
|
/**
|
|
49
41
|
* Gets the forward direction of the matrix.
|
|
50
42
|
*
|
|
@@ -54,9 +46,7 @@ interface VMatrix {
|
|
|
54
46
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetForward
|
|
55
47
|
*/
|
|
56
48
|
GetForward(self: VMatrix): Vector;
|
|
57
|
-
}
|
|
58
49
|
|
|
59
|
-
interface VMatrix {
|
|
60
50
|
/**
|
|
61
51
|
* Returns an inverted matrix without modifying the original matrix.
|
|
62
52
|
*
|
|
@@ -68,9 +58,7 @@ interface VMatrix {
|
|
|
68
58
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetInverse
|
|
69
59
|
*/
|
|
70
60
|
GetInverse(self: VMatrix): VMatrix;
|
|
71
|
-
}
|
|
72
61
|
|
|
73
|
-
interface VMatrix {
|
|
74
62
|
/**
|
|
75
63
|
* Returns an inverted matrix without modifying the original matrix. This function will not fail, but only works correctly on matrices that contain only translation and/or rotation.
|
|
76
64
|
*
|
|
@@ -82,9 +70,7 @@ interface VMatrix {
|
|
|
82
70
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetInverseTR
|
|
83
71
|
*/
|
|
84
72
|
GetInverseTR(self: VMatrix): VMatrix;
|
|
85
|
-
}
|
|
86
73
|
|
|
87
|
-
interface VMatrix {
|
|
88
74
|
/**
|
|
89
75
|
* Gets the right direction of the matrix.
|
|
90
76
|
*
|
|
@@ -94,27 +80,21 @@ interface VMatrix {
|
|
|
94
80
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetRight
|
|
95
81
|
*/
|
|
96
82
|
GetRight(self: VMatrix): Vector;
|
|
97
|
-
}
|
|
98
83
|
|
|
99
|
-
interface VMatrix {
|
|
100
84
|
/**
|
|
101
85
|
* Returns the absolute scale of the matrix.
|
|
102
86
|
* @realm shared
|
|
103
87
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetScale
|
|
104
88
|
*/
|
|
105
89
|
GetScale(self: VMatrix): Vector;
|
|
106
|
-
}
|
|
107
90
|
|
|
108
|
-
interface VMatrix {
|
|
109
91
|
/**
|
|
110
92
|
* Returns the absolute translation of the matrix.
|
|
111
93
|
* @realm shared
|
|
112
94
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetTranslation
|
|
113
95
|
*/
|
|
114
96
|
GetTranslation(self: VMatrix): Vector;
|
|
115
|
-
}
|
|
116
97
|
|
|
117
|
-
interface VMatrix {
|
|
118
98
|
/**
|
|
119
99
|
* Returns the transpose (each row becomes a column) of this matrix.
|
|
120
100
|
*
|
|
@@ -122,9 +102,7 @@ interface VMatrix {
|
|
|
122
102
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetTransposed
|
|
123
103
|
*/
|
|
124
104
|
GetTransposed(self: VMatrix): VMatrix;
|
|
125
|
-
}
|
|
126
105
|
|
|
127
|
-
interface VMatrix {
|
|
128
106
|
/**
|
|
129
107
|
* Gets the up direction of the matrix.
|
|
130
108
|
*
|
|
@@ -134,18 +112,14 @@ interface VMatrix {
|
|
|
134
112
|
* @source https://wiki.facepunch.com/gmod/VMatrix:GetUp
|
|
135
113
|
*/
|
|
136
114
|
GetUp(self: VMatrix): Vector;
|
|
137
|
-
}
|
|
138
115
|
|
|
139
|
-
interface VMatrix {
|
|
140
116
|
/**
|
|
141
117
|
* Initializes the matrix as Identity matrix.
|
|
142
118
|
* @realm shared
|
|
143
119
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Identity
|
|
144
120
|
*/
|
|
145
121
|
Identity(self: VMatrix): void;
|
|
146
|
-
}
|
|
147
122
|
|
|
148
|
-
interface VMatrix {
|
|
149
123
|
/**
|
|
150
124
|
* Inverts the matrix.
|
|
151
125
|
*
|
|
@@ -159,9 +133,7 @@ interface VMatrix {
|
|
|
159
133
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Invert
|
|
160
134
|
*/
|
|
161
135
|
Invert(self: VMatrix): boolean;
|
|
162
|
-
}
|
|
163
136
|
|
|
164
|
-
interface VMatrix {
|
|
165
137
|
/**
|
|
166
138
|
* Quickly inverts the matrix. This function will not fail, but only works correctly on matrices that contain only translation and/or rotation.
|
|
167
139
|
*
|
|
@@ -173,18 +145,14 @@ interface VMatrix {
|
|
|
173
145
|
* @source https://wiki.facepunch.com/gmod/VMatrix:InvertTR
|
|
174
146
|
*/
|
|
175
147
|
InvertTR(self: VMatrix): void;
|
|
176
|
-
}
|
|
177
148
|
|
|
178
|
-
interface VMatrix {
|
|
179
149
|
/**
|
|
180
150
|
* Returns whether the matrix is equal to Identity matrix or not.
|
|
181
151
|
* @realm shared
|
|
182
152
|
* @source https://wiki.facepunch.com/gmod/VMatrix:IsIdentity
|
|
183
153
|
*/
|
|
184
154
|
IsIdentity(self: VMatrix): boolean;
|
|
185
|
-
}
|
|
186
155
|
|
|
187
|
-
interface VMatrix {
|
|
188
156
|
/**
|
|
189
157
|
* Returns whether the matrix is a rotation matrix or not.
|
|
190
158
|
*
|
|
@@ -194,18 +162,14 @@ interface VMatrix {
|
|
|
194
162
|
* @source https://wiki.facepunch.com/gmod/VMatrix:IsRotationMatrix
|
|
195
163
|
*/
|
|
196
164
|
IsRotationMatrix(self: VMatrix): boolean;
|
|
197
|
-
}
|
|
198
165
|
|
|
199
|
-
interface VMatrix {
|
|
200
166
|
/**
|
|
201
167
|
* Checks whenever all fields of the matrix are 0, aka if this is a [null matrix](https://en.wikipedia.org/wiki/Zero_matrix).
|
|
202
168
|
* @realm shared
|
|
203
169
|
* @source https://wiki.facepunch.com/gmod/VMatrix:IsZero
|
|
204
170
|
*/
|
|
205
171
|
IsZero(self: VMatrix): boolean;
|
|
206
|
-
}
|
|
207
172
|
|
|
208
|
-
interface VMatrix {
|
|
209
173
|
/**
|
|
210
174
|
* Multiplies this matrix by given matrix.
|
|
211
175
|
*
|
|
@@ -213,9 +177,7 @@ interface VMatrix {
|
|
|
213
177
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Mul
|
|
214
178
|
*/
|
|
215
179
|
Mul(self: VMatrix, input: VMatrix): void;
|
|
216
|
-
}
|
|
217
180
|
|
|
218
|
-
interface VMatrix {
|
|
219
181
|
/**
|
|
220
182
|
* Rotates the matrix by the given angle.
|
|
221
183
|
*
|
|
@@ -225,9 +187,7 @@ interface VMatrix {
|
|
|
225
187
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Rotate
|
|
226
188
|
*/
|
|
227
189
|
Rotate(self: VMatrix, rotation: Angle): void;
|
|
228
|
-
}
|
|
229
190
|
|
|
230
|
-
interface VMatrix {
|
|
231
191
|
/**
|
|
232
192
|
* Scales the matrix by the given vector.
|
|
233
193
|
*
|
|
@@ -237,45 +197,35 @@ interface VMatrix {
|
|
|
237
197
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Scale
|
|
238
198
|
*/
|
|
239
199
|
Scale(self: VMatrix, scale: Vector): void;
|
|
240
|
-
}
|
|
241
200
|
|
|
242
|
-
interface VMatrix {
|
|
243
201
|
/**
|
|
244
202
|
* Scales the absolute translation with the given value.
|
|
245
203
|
* @realm shared
|
|
246
204
|
* @source https://wiki.facepunch.com/gmod/VMatrix:ScaleTranslation
|
|
247
205
|
*/
|
|
248
206
|
ScaleTranslation(self: VMatrix, scale: number): void;
|
|
249
|
-
}
|
|
250
207
|
|
|
251
|
-
interface VMatrix {
|
|
252
208
|
/**
|
|
253
209
|
* Copies values from the given matrix object.
|
|
254
210
|
* @realm shared
|
|
255
211
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Set
|
|
256
212
|
*/
|
|
257
213
|
Set(self: VMatrix, src: VMatrix): void;
|
|
258
|
-
}
|
|
259
214
|
|
|
260
|
-
interface VMatrix {
|
|
261
215
|
/**
|
|
262
216
|
* Sets the absolute rotation of the matrix.
|
|
263
217
|
* @realm shared
|
|
264
218
|
* @source https://wiki.facepunch.com/gmod/VMatrix:SetAngles
|
|
265
219
|
*/
|
|
266
220
|
SetAngles(self: VMatrix, angle: Angle): void;
|
|
267
|
-
}
|
|
268
221
|
|
|
269
|
-
interface VMatrix {
|
|
270
222
|
/**
|
|
271
223
|
* Sets a specific field in the matrix.
|
|
272
224
|
* @realm shared
|
|
273
225
|
* @source https://wiki.facepunch.com/gmod/VMatrix:SetField
|
|
274
226
|
*/
|
|
275
227
|
SetField(self: VMatrix, row: number, column: number, value: number): void;
|
|
276
|
-
}
|
|
277
228
|
|
|
278
|
-
interface VMatrix {
|
|
279
229
|
/**
|
|
280
230
|
* Sets the forward direction of the matrix.
|
|
281
231
|
*
|
|
@@ -285,9 +235,7 @@ interface VMatrix {
|
|
|
285
235
|
* @source https://wiki.facepunch.com/gmod/VMatrix:SetForward
|
|
286
236
|
*/
|
|
287
237
|
SetForward(self: VMatrix, forward: Vector): void;
|
|
288
|
-
}
|
|
289
238
|
|
|
290
|
-
interface VMatrix {
|
|
291
239
|
/**
|
|
292
240
|
* Sets the right direction of the matrix.
|
|
293
241
|
*
|
|
@@ -297,36 +245,28 @@ interface VMatrix {
|
|
|
297
245
|
* @source https://wiki.facepunch.com/gmod/VMatrix:SetRight
|
|
298
246
|
*/
|
|
299
247
|
SetRight(self: VMatrix, right: Vector): void;
|
|
300
|
-
}
|
|
301
248
|
|
|
302
|
-
interface VMatrix {
|
|
303
249
|
/**
|
|
304
250
|
* Modifies the scale of the matrix while preserving the rotation and translation.
|
|
305
251
|
* @realm shared
|
|
306
252
|
* @source https://wiki.facepunch.com/gmod/VMatrix:SetScale
|
|
307
253
|
*/
|
|
308
254
|
SetScale(self: VMatrix, scale: Vector): void;
|
|
309
|
-
}
|
|
310
255
|
|
|
311
|
-
interface VMatrix {
|
|
312
256
|
/**
|
|
313
257
|
* Sets the absolute translation of the matrix.
|
|
314
258
|
* @realm shared
|
|
315
259
|
* @source https://wiki.facepunch.com/gmod/VMatrix:SetTranslation
|
|
316
260
|
*/
|
|
317
261
|
SetTranslation(self: VMatrix, translation: Vector): void;
|
|
318
|
-
}
|
|
319
262
|
|
|
320
|
-
interface VMatrix {
|
|
321
263
|
/**
|
|
322
264
|
* Sets each component of the matrix.
|
|
323
265
|
* @realm shared
|
|
324
266
|
* @source https://wiki.facepunch.com/gmod/VMatrix:SetUnpacked
|
|
325
267
|
*/
|
|
326
268
|
SetUnpacked(self: VMatrix, e11: number, e12: number, e13: number, e14: number, e21: number, e22: number, e23: number, e24: number, e31: number, e32: number, e33: number, e34: number, e41: number, e42: number, e43: number, e44: number): void;
|
|
327
|
-
}
|
|
328
269
|
|
|
329
|
-
interface VMatrix {
|
|
330
270
|
/**
|
|
331
271
|
* Sets the up direction of the matrix.
|
|
332
272
|
*
|
|
@@ -336,9 +276,7 @@ interface VMatrix {
|
|
|
336
276
|
* @source https://wiki.facepunch.com/gmod/VMatrix:SetUp
|
|
337
277
|
*/
|
|
338
278
|
SetUp(self: VMatrix, up: Vector): void;
|
|
339
|
-
}
|
|
340
279
|
|
|
341
|
-
interface VMatrix {
|
|
342
280
|
/**
|
|
343
281
|
* Subtracts given matrix from this matrix.
|
|
344
282
|
*
|
|
@@ -346,18 +284,14 @@ interface VMatrix {
|
|
|
346
284
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Sub
|
|
347
285
|
*/
|
|
348
286
|
Sub(self: VMatrix, input: VMatrix): void;
|
|
349
|
-
}
|
|
350
287
|
|
|
351
|
-
interface VMatrix {
|
|
352
288
|
/**
|
|
353
289
|
* Converts the matrix to a 4x4 table. See [Global.Matrix](https://wiki.facepunch.com/gmod/Global.Matrix) function.
|
|
354
290
|
* @realm shared
|
|
355
291
|
* @source https://wiki.facepunch.com/gmod/VMatrix:ToTable
|
|
356
292
|
*/
|
|
357
293
|
ToTable(self: VMatrix): table;
|
|
358
|
-
}
|
|
359
294
|
|
|
360
|
-
interface VMatrix {
|
|
361
295
|
/**
|
|
362
296
|
* Translates the matrix by the given vector aka. adds the vector to the translation.
|
|
363
297
|
*
|
|
@@ -367,18 +301,14 @@ interface VMatrix {
|
|
|
367
301
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Translate
|
|
368
302
|
*/
|
|
369
303
|
Translate(self: VMatrix, translation: Vector): void;
|
|
370
|
-
}
|
|
371
304
|
|
|
372
|
-
interface VMatrix {
|
|
373
305
|
/**
|
|
374
306
|
* Returns each component of the matrix, expanding rows before columns.
|
|
375
307
|
* @realm shared
|
|
376
308
|
* @source https://wiki.facepunch.com/gmod/VMatrix:Unpack
|
|
377
309
|
*/
|
|
378
310
|
Unpack(self: VMatrix): (number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number);
|
|
379
|
-
}
|
|
380
311
|
|
|
381
|
-
interface VMatrix {
|
|
382
312
|
/**
|
|
383
313
|
* Sets all components of the matrix to 0, also known as a [null matrix](https://en.wikipedia.org/wiki/Zero_matrix).
|
|
384
314
|
*
|
|
@@ -389,4 +319,3 @@ interface VMatrix {
|
|
|
389
319
|
*/
|
|
390
320
|
Zero(self: VMatrix): void;
|
|
391
321
|
}
|
|
392
|
-
|