• Home
  • Raw
  • Download

Lines Matching refs:b

67     public static Byte3 add(Byte3 a, Byte3 b) {  in add()  argument
69 result.x = (byte)(a.x + b.x); in add()
70 result.y = (byte)(a.y + b.y); in add()
71 result.z = (byte)(a.z + b.z); in add()
94 public static Byte3 add(Byte3 a, byte b) { in add() argument
96 result.x = (byte)(a.x + b); in add()
97 result.y = (byte)(a.y + b); in add()
98 result.z = (byte)(a.z + b); in add()
121 public static Byte3 sub(Byte3 a, Byte3 b) { in sub() argument
123 result.x = (byte)(a.x - b.x); in sub()
124 result.y = (byte)(a.y - b.y); in sub()
125 result.z = (byte)(a.z - b.z); in sub()
148 public static Byte3 sub(Byte3 a, byte b) { in sub() argument
150 result.x = (byte)(a.x - b); in sub()
151 result.y = (byte)(a.y - b); in sub()
152 result.z = (byte)(a.z - b); in sub()
175 public static Byte3 mul(Byte3 a, Byte3 b) { in mul() argument
177 result.x = (byte)(a.x * b.x); in mul()
178 result.y = (byte)(a.y * b.y); in mul()
179 result.z = (byte)(a.z * b.z); in mul()
202 public static Byte3 mul(Byte3 a, byte b) { in mul() argument
204 result.x = (byte)(a.x * b); in mul()
205 result.y = (byte)(a.y * b); in mul()
206 result.z = (byte)(a.z * b); in mul()
229 public static Byte3 div(Byte3 a, Byte3 b) { in div() argument
231 result.x = (byte)(a.x / b.x); in div()
232 result.y = (byte)(a.y / b.y); in div()
233 result.z = (byte)(a.z / b.z); in div()
256 public static Byte3 div(Byte3 a, byte b) { in div() argument
258 result.x = (byte)(a.x / b); in div()
259 result.y = (byte)(a.y / b); in div()
260 result.z = (byte)(a.z / b); in div()
300 public static byte dotProduct(Byte3 a, Byte3 b) { in dotProduct() argument
301 return (byte)((byte)((byte)(b.x * a.x) + (byte)(b.y * a.y)) + (byte)(b.z * a.z)); in dotProduct()
334 public void setValues(byte a, byte b, byte c) { in setValues() argument
336 this.y = b; in setValues()