Property | Type | Description | |
---|---|---|---|
A | Microsoft.Xna.Framework.Vector3 | ||
B | Microsoft.Xna.Framework.Vector3 | ||
C | Microsoft.Xna.Framework.Vector3 | ||
D | Microsoft.Xna.Framework.Vector3 | ||
State | SimplexState |
Method | Description | |
---|---|---|
AddNewSimplexPoint ( Microsoft.Xna.Framework.Vector3 &point, Microsoft.Xna.Framework.Vector3 &hitLocation, |
Adds a new point to the simplex.
|
|
GetErrorTolerance ( Microsoft.Xna.Framework.Vector3 &rayOrigin ) : float |
Gets the error tolerance for the simplex.
|
|
GetPointClosestToOrigin ( |
Gets the point on the simplex that is closest to the origin.
|
|
GetPointOnSegmentClosestToOrigin ( |
Finds the point on the segment to the origin.
|
|
GetPointOnTetrahedronClosestToOrigin ( |
Gets the point closest to the origin on the tetrahedron.
|
|
GetPointOnTriangleClosestToOrigin ( |
Gets the point on the triangle that is closest to the origin.
|
Method | Description | |
---|---|---|
TryTetrahedronTriangle ( Microsoft.Xna.Framework.Vector3 &A, Microsoft.Xna.Framework.Vector3 &B, Microsoft.Xna.Framework.Vector3 &C, Microsoft.Xna.Framework.Vector3 &simplexA, Microsoft.Xna.Framework.Vector3 &simplexB, Microsoft.Xna.Framework.Vector3 &simplexC, Microsoft.Xna.Framework.Vector3 &otherPoint, |
public AddNewSimplexPoint ( Microsoft.Xna.Framework.Vector3 &point, Microsoft.Xna.Framework.Vector3 &hitLocation, |
||
point | Microsoft.Xna.Framework.Vector3 | Point to add. |
hitLocation | Microsoft.Xna.Framework.Vector3 | Current ray hit location. |
shiftedSimplex | Simplex shifted with the hit location. | |
return | void |
public GetErrorTolerance ( Microsoft.Xna.Framework.Vector3 &rayOrigin ) : float | ||
rayOrigin | Microsoft.Xna.Framework.Vector3 | Origin of the ray. |
return | float |
public GetPointClosestToOrigin ( |
||
simplex | Simplex to test. | |
point | Microsoft.Xna.Framework.Vector3 | Closest point on the simplex. |
return | bool |
public GetPointOnSegmentClosestToOrigin ( |
||
simplex | Simplex to test. | |
point | Microsoft.Xna.Framework.Vector3 | Closest point. |
return | void |
public GetPointOnTetrahedronClosestToOrigin ( |
||
simplex | Simplex to test. | |
point | Microsoft.Xna.Framework.Vector3 | Closest point. |
return | bool |
public GetPointOnTriangleClosestToOrigin ( |
||
simplex | Simplex to test. | |
point | Microsoft.Xna.Framework.Vector3 | Closest point to origin. |
return | void |
public Vector3,Microsoft.Xna.Framework A | ||
return | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework B | ||
return | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework C | ||
return | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework D | ||
return | Microsoft.Xna.Framework.Vector3 |