File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
managed/CounterStrikeSharp.API/Modules/Utils Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,30 @@ namespace CounterStrikeSharp.API.Modules.Utils;
21
21
public partial class matrix3x4_t : NativeObject
22
22
{
23
23
public unsafe ref float this [ int row , int column ] => ref Unsafe . Add ( ref * ( float * ) Handle , row * 4 + column ) ;
24
+
25
+ public float M00 => this [ 0 , 0 ] ;
26
+
27
+ public float M01 => this [ 0 , 1 ] ;
28
+
29
+ public float M02 => this [ 0 , 2 ] ;
30
+
31
+ public float M03 => this [ 0 , 3 ] ;
32
+
33
+ public float M10 => this [ 1 , 0 ] ;
34
+
35
+ public float M11 => this [ 1 , 1 ] ;
36
+
37
+ public float M12 => this [ 1 , 2 ] ;
38
+
39
+ public float M13 => this [ 1 , 3 ] ;
40
+
41
+ public float M20 => this [ 2 , 0 ] ;
42
+
43
+ public float M21 => this [ 2 , 1 ] ;
44
+
45
+ public float M22 => this [ 2 , 2 ] ;
46
+
47
+ public float M23 => this [ 2 , 3 ] ;
24
48
25
49
public matrix3x4_t ( IntPtr pointer ) : base ( pointer )
26
50
{
You can’t perform that action at this time.
0 commit comments