Lines Matching refs:w
32 public float w; field in Float4
41 this.w = data.w; in Float4()
44 public Float4(float x, float y, float z, float w) { in Float4() argument
48 this.w = w; in Float4()
63 res.w = a.w + b.w; in add()
77 w += value.w; in add()
89 w += value; in add()
104 res.w = a.w + b; in add()
118 w -= value.w; in sub()
130 w -= value; in sub()
145 res.w = a.w - b; in sub()
162 res.w = a.w - b.w; in sub()
176 w *= value.w; in mul()
188 w *= value; in mul()
203 res.w = a.w * b.w; in mul()
220 res.w = a.w * b; in mul()
234 w /= value.w; in div()
246 w /= value; in div()
261 res.w = a.w / b; in div()
278 res.w = a.w / b.w; in div()
290 return (x * a.x) + (y * a.y) + (z * a.z) + (w * a.w); in dotProduct()
301 return (b.x * a.x) + (b.y * a.y) + (b.z * a.z) + (b.w * a.w); in dotProduct()
314 w += a.w * factor; in addMultiple()
326 this.w = a.w; in set()
336 w = -w; in negate()
354 return x + y + z + w; in elementSum()
372 return w; in get()
396 w = value; in setAt()
421 w += value; in addAt()
436 public void setValues(float x, float y, float z, float w) { in setValues() argument
440 this.w = w; in setValues()
453 data[offset + 3] = w; in copyTo()