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;
295
left.
_w
+= 1;
302
right.
_w
+= 1;
342
left.
_w
-= 1;
415
_w
= scale;
422
_w
*= scale;
487
from.
_w
= 1;
491
to.
_w
= 1;
516
to.
_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)
162
double mcos =
_w
;
176
mcos =
_w
/maxcoeff;
195
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
207
return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 &&
_w
== 1);
239
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
256
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
263
Math.Abs(
_w
));
269
norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
310
left.
_w
+ right.
_w
);
349
return new Quaternion(-right._x, -right._y, -right._z, 1 - right.
_w
);
356
left.
_w
- right.
_w
);
388
double x = left.
_w
* right._x + left._x * right.
_w
+ left._y * right._z - left._z * right._y;
389
double y = left.
_w
* right._y + left._y * right.
_w
+ left._z * right._x - left._x * right._z;
390
double z = left.
_w
* right._z + left._z * right.
_w
+ left._x * right._y - left._y * right._x;
391
double w = left.
_w
* right.
_w
- left._x * right._x - left._y * right._y - left._z * right._z;
435
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
446
Math.Max(Math.Abs(_z),Math.Abs(
_w
)));
451
double w =
_w
/max;
504
cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from.
_w
*to.
_w
;
516
to._w = -to.
_w
;
587
scaleFrom*from.
_w
+ scaleTo*to.
_w
);
691
return
_w
;