升级obi

This commit is contained in:
2026-01-22 22:08:21 +08:00
parent 120b8cda26
commit 20f14322bc
1067 changed files with 149894 additions and 29583 deletions

View File

@@ -6,11 +6,12 @@ namespace Obi
[StructLayout(LayoutKind.Sequential, Size = 64)]
public struct QueryResult
{
public Vector4 simplexBary; /**< Barycentric coords of nearest point in simplex */
public Vector4 queryPoint; /**< Nearest point in query shape*/
public Vector4 normal; /**< Closest direction between simplex and query shape. */
public float distance; /**< Distance between simplex and query shape.*/
public int simplexIndex; /**< Index of the simplex in the solver.*/
public int queryIndex; /**< Index of the query that spawned this result.*/
public Vector4 simplexBary; /**< Barycentric coords of nearest point in simplex */
public Vector4 queryPoint; /**< Nearest point in query shape*/
public Vector4 normal; /**< Closest direction between simplex and query shape. */
public float distance; /**< Distance between simplex and query shape.*/
public float distanceAlongRay; /**< For ray queries, distance along the ray.*/
public int simplexIndex; /**< Index of the simplex in the solver.*/
public int queryIndex; /**< Index of the query that spawned this result.*/
}
}