9 writes to _x
PresentationCore (9)
System\Windows\Media3D\Quaternion.cs (9)
73
_x
= x;
94
_x
= v.X;
222
_x
= -_x;
240
_x
/= norm2;
265
_x
*= rmax;
272
_x
*= normInverse;
419
_x
*= scale;
513
to.
_x
= -to._x;
632
_x
= value;
41 references to _x
PresentationCore (41)
System\Windows\Media3D\Generated\Quaternion.cs (1)
339
_x
,
System\Windows\Media3D\Quaternion.cs (40)
135
if (IsDistinguishedIdentity || (
_x
== 0 && _y == 0 && _z == 0))
141
Vector3D v = new Vector3D(
_x
, _y, _z);
161
double msin = Math.Sqrt(
_x
*
_x
+ _y*_y + _z*_z);
170
double maxcoeff = Math.Max(Math.Abs(
_x
),Math.Max(Math.Abs(_y),Math.Abs(_z)));
171
double x =
_x
/maxcoeff;
195
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
207
return IsDistinguishedIdentity || (
_x
== 0 && _y == 0 && _z == 0 && _w == 1);
222
_x = -
_x
;
239
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
256
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
260
double rmax = 1.0/Max(Math.Abs(
_x
),
269
norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
307
return new Quaternion(left.
_x
+ right.
_x
,
349
return new Quaternion(-right.
_x
, -right._y, -right._z, 1 - right._w);
353
return new Quaternion(left.
_x
- right.
_x
,
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;
445
double max = Math.Max(Math.Max(Math.Abs(
_x
),Math.Abs(_y)),
448
double x =
_x
/max;
504
cosOmega = from.
_x
*to.
_x
+ from._y*to._y + from._z*to._z + from._w*to._w;
513
to._x = -to.
_x
;
584
return new Quaternion(scaleFrom*from.
_x
+ scaleTo*to.
_x
,
622
return
_x
;