forked from mirror/DotRecast
update comment
This commit is contained in:
parent
7664ae9f3d
commit
e6f515f08a
|
@ -1055,7 +1055,6 @@ namespace DotRecast.Detour
|
||||||
/// -# Call updateSlicedFindPath() until it returns complete.
|
/// -# Call updateSlicedFindPath() until it returns complete.
|
||||||
/// -# Call finalizeSlicedFindPath() to get the path.
|
/// -# Call finalizeSlicedFindPath() to get the path.
|
||||||
///@{
|
///@{
|
||||||
|
|
||||||
/// Initializes a sliced path query.
|
/// Initializes a sliced path query.
|
||||||
/// @param[in] startRef The reference id of the start polygon.
|
/// @param[in] startRef The reference id of the start polygon.
|
||||||
/// @param[in] endRef The reference id of the end polygon.
|
/// @param[in] endRef The reference id of the end polygon.
|
||||||
|
@ -2292,17 +2291,14 @@ namespace DotRecast.Detour
|
||||||
///
|
///
|
||||||
/// Casts a 'walkability' ray along the surface of the navigation mesh from
|
/// Casts a 'walkability' ray along the surface of the navigation mesh from
|
||||||
/// the start position toward the end position.
|
/// the start position toward the end position.
|
||||||
/// @note A wrapper around Raycast(..., RaycastHit*). Retained for backward compatibility.
|
/// @param[in] startRef The reference id of the start polygon.
|
||||||
/// @param[in] startRef The reference id of the start polygon.
|
/// @param[in] startPos A position within the start polygon representing
|
||||||
/// @param[in] startPos A position within the start polygon representing
|
/// the start of the ray. [(x, y, z)]
|
||||||
/// the start of the ray. [(x, y, z)]
|
/// @param[in] endPos The position to cast the ray toward. [(x, y, z)]
|
||||||
/// @param[in] endPos The position to cast the ray toward. [(x, y, z)]
|
/// @param[in] filter The polygon filter to apply to the query.
|
||||||
/// @param[out] t The hit parameter. (FLT_MAX if no wall hit.)
|
/// @param[in] options govern how the raycast behaves. See dtRaycastOptions
|
||||||
/// @param[out] hitNormal The normal of the nearest wall hit. [(x, y, z)]
|
/// @param[out] hit Pointer to a raycast hit structure which will be filled by the results.
|
||||||
/// @param[in] filter The polygon filter to apply to the query.
|
/// @param[in] prevRef parent of start ref. Used during for cost calculation [opt]
|
||||||
/// @param[out] path The reference ids of the visited polygons. [opt]
|
|
||||||
/// @param[out] pathCount The number of visited polygons. [opt]
|
|
||||||
/// @param[in] maxPath The maximum number of polygons the @p path array can hold.
|
|
||||||
/// @returns The status flags for the query.
|
/// @returns The status flags for the query.
|
||||||
public DtStatus Raycast(long startRef, RcVec3f startPos, RcVec3f endPos,
|
public DtStatus Raycast(long startRef, RcVec3f startPos, RcVec3f endPos,
|
||||||
IDtQueryFilter filter, int options,
|
IDtQueryFilter filter, int options,
|
||||||
|
|
Loading…
Reference in New Issue