Lines Matching refs:a

50     public void add(Byte3 a) {  in add()  argument
51 this.x += a.x; in add()
52 this.y += a.y; in add()
53 this.z += a.z; in add()
63 public static Byte3 add(Byte3 a, Byte3 b) { in add() argument
65 result.x = (byte)(a.x + b.x); in add()
66 result.y = (byte)(a.y + b.y); in add()
67 result.z = (byte)(a.z + b.z); in add()
90 public static Byte3 add(Byte3 a, byte b) { in add() argument
92 result.x = (byte)(a.x + b); in add()
93 result.y = (byte)(a.y + b); in add()
94 result.z = (byte)(a.z + b); in add()
104 public void sub(Byte3 a) { in sub() argument
105 this.x -= a.x; in sub()
106 this.y -= a.y; in sub()
107 this.z -= a.z; in sub()
117 public static Byte3 sub(Byte3 a, Byte3 b) { in sub() argument
119 result.x = (byte)(a.x - b.x); in sub()
120 result.y = (byte)(a.y - b.y); in sub()
121 result.z = (byte)(a.z - b.z); in sub()
144 public static Byte3 sub(Byte3 a, byte b) { in sub() argument
146 result.x = (byte)(a.x - b); in sub()
147 result.y = (byte)(a.y - b); in sub()
148 result.z = (byte)(a.z - b); in sub()
158 public void mul(Byte3 a) { in mul() argument
159 this.x *= a.x; in mul()
160 this.y *= a.y; in mul()
161 this.z *= a.z; in mul()
171 public static Byte3 mul(Byte3 a, Byte3 b) { in mul() argument
173 result.x = (byte)(a.x * b.x); in mul()
174 result.y = (byte)(a.y * b.y); in mul()
175 result.z = (byte)(a.z * b.z); in mul()
198 public static Byte3 mul(Byte3 a, byte b) { in mul() argument
200 result.x = (byte)(a.x * b); in mul()
201 result.y = (byte)(a.y * b); in mul()
202 result.z = (byte)(a.z * b); in mul()
212 public void div(Byte3 a) { in div() argument
213 this.x /= a.x; in div()
214 this.y /= a.y; in div()
215 this.z /= a.z; in div()
225 public static Byte3 div(Byte3 a, Byte3 b) { in div() argument
227 result.x = (byte)(a.x / b.x); in div()
228 result.y = (byte)(a.y / b.y); in div()
229 result.z = (byte)(a.z / b.z); in div()
252 public static Byte3 div(Byte3 a, byte b) { in div() argument
254 result.x = (byte)(a.x / b); in div()
255 result.y = (byte)(a.y / b); in div()
256 result.z = (byte)(a.z / b); in div()
285 public byte dotProduct(Byte3 a) { in dotProduct() argument
286 return (byte)((byte)((byte)(x * a.x) + (byte)(y * a.y)) + (byte)(z * a.z)); in dotProduct()
296 public static byte dotProduct(Byte3 a, Byte3 b) { in dotProduct() argument
297 return (byte)((byte)((byte)(b.x * a.x) + (byte)(b.y * a.y)) + (byte)(b.z * a.z)); in dotProduct()
306 public void addMultiple(Byte3 a, byte factor) { in addMultiple() argument
307 x += a.x * factor; in addMultiple()
308 y += a.y * factor; in addMultiple()
309 z += a.z * factor; in addMultiple()
317 public void set(Byte3 a) { in set() argument
318 this.x = a.x; in set()
319 this.y = a.y; in set()
320 this.z = a.z; in set()
330 public void setValues(byte a, byte b, byte c) { in setValues() argument
331 this.x = a; in setValues()