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