9 writes to _x
PresentationCore (9)
System\Windows\Media3D\Quaternion.cs (9)
54
_x
= x;
75
_x
= v.X;
203
_x
= -_x;
221
_x
/= norm2;
246
_x
*= rmax;
253
_x
*= normInverse;
400
_x
*= scale;
494
to.
_x
= -to._x;
613
_x
= value;
41 references to _x
PresentationCore (41)
System\Windows\Media3D\Generated\Quaternion.cs (1)
318
_x
,
System\Windows\Media3D\Quaternion.cs (40)
116
if (IsDistinguishedIdentity || (
_x
== 0 && _y == 0 && _z == 0))
122
Vector3D v = new Vector3D(
_x
, _y, _z);
142
double msin = Math.Sqrt(
_x
*
_x
+ _y*_y + _z*_z);
151
double maxcoeff = Math.Max(Math.Abs(
_x
),Math.Max(Math.Abs(_y),Math.Abs(_z)));
152
double x =
_x
/maxcoeff;
176
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
188
return IsDistinguishedIdentity || (
_x
== 0 && _y == 0 && _z == 0 && _w == 1);
203
_x = -
_x
;
220
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
237
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
241
double rmax = 1.0/Max(Math.Abs(
_x
),
250
norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
288
return new Quaternion(left.
_x
+ right.
_x
,
330
return new Quaternion(-right.
_x
, -right._y, -right._z, 1 - right._w);
334
return new Quaternion(left.
_x
- right.
_x
,
369
double x = left._w * right.
_x
+ left.
_x
* right._w + left._y * right._z - left._z * right._y;
370
double y = left._w * right._y + left._y * right._w + left._z * right.
_x
- left.
_x
* right._z;
371
double z = left._w * right._z + left._z * right._w + left.
_x
* right._y - left._y * right.
_x
;
372
double w = left._w * right._w - left.
_x
* right.
_x
- left._y * right._y - left._z * right._z;
416
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
426
double max = Math.Max(Math.Max(Math.Abs(
_x
),Math.Abs(_y)),
429
double x =
_x
/max;
485
cosOmega = from.
_x
*to.
_x
+ from._y*to._y + from._z*to._z + from._w*to._w;
494
to._x = -to.
_x
;
565
return new Quaternion(scaleFrom*from.
_x
+ scaleTo*to.
_x
,
603
return
_x
;