Lines Matching refs:b

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()
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()
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()
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()
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()
330 public void setValues(byte a, byte b, byte c) { in setValues() argument
332 this.y = b; in setValues()