From dfbd1b2caeac6c09ed486fc8f83a6ab731c6885c Mon Sep 17 00:00:00 2001 From: ikpil Date: Sun, 12 May 2024 00:08:18 +0900 Subject: [PATCH] update comment --- src/DotRecast.Detour/DtMeshData.cs | 31 ++++++++++-------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/src/DotRecast.Detour/DtMeshData.cs b/src/DotRecast.Detour/DtMeshData.cs index c2ad019..b6e1b3a 100644 --- a/src/DotRecast.Detour/DtMeshData.cs +++ b/src/DotRecast.Detour/DtMeshData.cs @@ -22,33 +22,22 @@ namespace DotRecast.Detour { public class DtMeshData { - /** The tile header. */ - public DtMeshHeader header; + public DtMeshHeader header; //< The tile header. + public DtPoly[] polys; //< The tile polygons. [Size: dtMeshHeader::polyCount] + public float[] verts; //< The tile vertices. [(x, y, z) * dtMeshHeader::vertCount] + public DtPolyDetail[] detailMeshes; //< The tile's detail sub-meshes. [Size: dtMeshHeader::detailMeshCount] - /** The tile vertices. [Size: MeshHeader::vertCount] */ - public float[] verts; - - /** The tile polygons. [Size: MeshHeader::polyCount] */ - public DtPoly[] polys; - - /** The tile's detail sub-meshes. [Size: MeshHeader::detailMeshCount] */ - public DtPolyDetail[] detailMeshes; - - /** The detail mesh's unique vertices. [(x, y, z) * MeshHeader::detailVertCount] */ + /// The detail mesh's unique vertices. [(x, y, z) * dtMeshHeader::detailVertCount] public float[] detailVerts; - /** - * The detail mesh's triangles. [(vertA, vertB, vertC) * MeshHeader::detailTriCount] See DetailTriEdgeFlags and - * NavMesh::getDetailTriEdgeFlags. - */ + /// The detail mesh's triangles. [(vertA, vertB, vertC, triFlags) * dtMeshHeader::detailTriCount]. + /// See dtDetailTriEdgeFlags and dtGetDetailTriEdgeFlags. public int[] detailTris; - /** - * The tile bounding volume nodes. [Size: MeshHeader::bvNodeCount] (Will be null if bounding volumes are disabled.) - */ + /// The tile bounding volume nodes. [Size: dtMeshHeader::bvNodeCount] + /// (Will be null if bounding volumes are disabled.) public DtBVNode[] bvTree; - /** The tile off-mesh connections. [Size: MeshHeader::offMeshConCount] */ - public DtOffMeshConnection[] offMeshCons; + public DtOffMeshConnection[] offMeshCons; //< The tile off-mesh connections. [Size: dtMeshHeader::offMeshConCount] } } \ No newline at end of file