3 writes to Normal
System.Numerics (3)
System\Numerics\Plane.cs (3)
32
Normal
= new Vector3(x, y, z);
43
this.
Normal
= normal;
54
Normal
= new Vector3(value.X, value.Y, value.Z);
59 references to Normal
System.Numerics (59)
System\Numerics\Matrix4x4.cs (9)
1177
float dot = p.
Normal
.X * lightDirection.X + p.
Normal
.Y * lightDirection.Y + p.
Normal
.Z * lightDirection.Z;
1178
float a = -p.
Normal
.X;
1179
float b = -p.
Normal
.Y;
1180
float c = -p.
Normal
.Z;
1217
float a = value.
Normal
.X;
1218
float b = value.
Normal
.Y;
1219
float c = value.
Normal
.Z;
System\Numerics\Plane.cs (50)
123
float normalLengthSquared = value.
Normal
.LengthSquared();
131
value.
Normal
/ normalLength,
136
float f = value.
Normal
.X * value.
Normal
.X + value.
Normal
.Y * value.
Normal
.Y + value.
Normal
.Z * value.
Normal
.Z;
146
value.
Normal
.X * fInv,
147
value.
Normal
.Y * fInv,
148
value.
Normal
.Z * fInv,
166
float x = plane.
Normal
.X, y = plane.
Normal
.Y, z = plane.
Normal
.Z, w = plane.D;
212
float x = plane.
Normal
.X, y = plane.
Normal
.Y, z = plane.
Normal
.Z;
230
return plane.
Normal
.X * value.X +
231
plane.
Normal
.Y * value.Y +
232
plane.
Normal
.Z * value.Z +
247
return Vector3.Dot(plane.
Normal
, value) + plane.D;
251
return plane.
Normal
.X * value.X +
252
plane.
Normal
.Y * value.Y +
253
plane.
Normal
.Z * value.Z +
269
return Vector3.Dot(plane.
Normal
, value);
273
return plane.
Normal
.X * value.X +
274
plane.
Normal
.Y * value.Y +
275
plane.
Normal
.Z * value.Z;
288
return (value1.
Normal
.X == value2.
Normal
.X &&
289
value1.
Normal
.Y == value2.
Normal
.Y &&
290
value1.
Normal
.Z == value2.
Normal
.Z &&
303
return (value1.
Normal
.X != value2.
Normal
.X ||
304
value1.
Normal
.Y != value2.
Normal
.Y ||
305
value1.
Normal
.Z != value2.
Normal
.Z ||
319
return this.
Normal
.Equals(other.
Normal
) && this.D == other.D;
323
return (
Normal
.X == other.
Normal
.X &&
324
Normal
.Y == other.
Normal
.Y &&
325
Normal
.Z == other.
Normal
.Z &&
354
return String.Format(ci, "{{Normal:{0} D:{1}}}",
Normal
.ToString(), D.ToString(ci));
363
return
Normal
.GetHashCode() + D.GetHashCode();