Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
Int3.cs
Go to the documentation of this file.
1public class Int3
2{
3 public int[] i = new int[3];
4
5 public int x
6 {
7 get
8 {
9 return i[0];
10 }
11 set
12 {
13 i[0] = value;
14 }
15 }
16
17 public int y
18 {
19 get
20 {
21 return i[1];
22 }
23 set
24 {
25 i[1] = value;
26 }
27 }
28
29 public int z
30 {
31 get
32 {
33 return i[2];
34 }
35 set
36 {
37 i[2] = value;
38 }
39 }
40
41 public Int3()
42 {
43 }
44
45 public Int3(int _x, int _y, int _z)
46 {
47 Set(_x, _y, _z);
48 }
49
50 public Int3(float _x, float _y, float _z)
51 {
52 Set(_x, _y, _z);
53 }
54
55 public void Set(int _x, int _y, int _z)
56 {
57 i[0] = _x;
58 i[1] = _y;
59 i[2] = _z;
60 }
61
62 public void Set(float _x, float _y, float _z)
63 {
64 i[0] = (int)_x;
65 i[1] = (int)_y;
66 i[2] = (int)_z;
67 }
68}
Definition: Int3.cs:2
int[] i
Definition: Int3.cs:3
Int3(float _x, float _y, float _z)
Definition: Int3.cs:50
int x
Definition: Int3.cs:6
void Set(int _x, int _y, int _z)
Definition: Int3.cs:55
void Set(float _x, float _y, float _z)
Definition: Int3.cs:62
int y
Definition: Int3.cs:18
Int3(int _x, int _y, int _z)
Definition: Int3.cs:45
Int3()
Definition: Int3.cs:41
int z
Definition: Int3.cs:30