14 writes to _w
PresentationCore (14)
System\Windows\Media3D\Quaternion.cs (14)
76_w = w; 97_w = Math.Cos(0.5 * angleInRadians); 243_w /= norm2; 268_w *= rmax; 275_w *= normInverse; 295left._w += 1; 302right._w += 1; 342left._w -= 1; 415_w = scale; 422_w *= scale; 487from._w = 1; 491to._w = 1; 516to._w = -to._w; 702_w = value;
36 references to _w
PresentationCore (36)
System\Windows\Media3D\Generated\Quaternion.cs (1)
342_w);
System\Windows\Media3D\Quaternion.cs (35)
162double mcos = _w; 176mcos = _w/maxcoeff; 195double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 207return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 && _w == 1); 239double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 256double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 263Math.Abs(_w)); 269norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 310left._w + right._w); 349return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 356left._w - right._w); 388double x = left._w * right._x + left._x * right._w + left._y * right._z - left._z * right._y; 389double y = left._w * right._y + left._y * right._w + left._z * right._x - left._x * right._z; 390double z = left._w * right._z + left._z * right._w + left._x * right._y - left._y * right._x; 391double w = left._w * right._w - left._x * right._x - left._y * right._y - left._z * right._z; 435double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 446Math.Max(Math.Abs(_z),Math.Abs(_w))); 451double w = _w/max; 504cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from._w*to._w; 516to._w = -to._w; 587scaleFrom*from._w + scaleTo*to._w); 691return _w;