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;
2121public partial class matrix3x4_t : NativeObject
2222{
2323 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 ] ;
2448
2549 public matrix3x4_t ( IntPtr pointer ) : base ( pointer )
2650 {
You can’t perform that action at this time.
0 commit comments