| 1 |
From b2d8fa9796712f8271885e98a85fa07f6fb956c2 Mon Sep 17 00:00:00 2001 |
| 2 |
From: Graham Pentheny <[email protected]> |
| 3 |
Date: Sun, 7 Jan 2024 16:08:28 -0500 |
| 4 |
Subject: [PATCH 31/36] Fixed old parameter names in out-of-line Recast |
| 5 |
function documentation |
| 6 |
|
| 7 |
--- |
| 8 |
Docs/Extern/Recast_api.txt | 8 ++++---- |
| 9 |
1 file changed, 4 insertions(+), 4 deletions(-) |
| 10 |
|
| 11 |
diff --git a/Docs/Extern/Recast_api.txt b/Docs/Extern/Recast_api.txt |
| 12 |
index 6cd4c63..90db1d4 100644 |
| 13 |
--- a/Docs/Extern/Recast_api.txt |
| 14 |
+++ b/Docs/Extern/Recast_api.txt |
| 15 |
@@ -650,14 +650,14 @@ if (((flags >> 2) & 0x3) != 0) |
| 16 |
} |
| 17 |
@endcode |
| 18 |
|
| 19 |
-@fn void rcSetCon(rcCompactSpan &s, int dir, int i) |
| 20 |
+@fn void rcSetCon(rcCompactSpan &span, int direction, int neighborIndex) |
| 21 |
@par |
| 22 |
|
| 23 |
This function is used by the build process. It is rarely of use to end users. |
| 24 |
|
| 25 |
@see #rcCompactHeightfield, #rcCompactSpan |
| 26 |
|
| 27 |
-@fn int rcGetCon(const rcCompactSpan &s, int dir) |
| 28 |
+@fn int rcGetCon(const rcCompactSpan &span, int direction) |
| 29 |
@par |
| 30 |
|
| 31 |
Can be used to locate neighbor spans in a compact heightfield. See the |
| 32 |
@@ -665,14 +665,14 @@ Can be used to locate neighbor spans in a compact heightfield. See the |
| 33 |
|
| 34 |
@see #rcCompactHeightfield, #rcCompactSpan |
| 35 |
|
| 36 |
-@fn int rcGetDirOffsetX(int dir) |
| 37 |
+@fn int rcGetDirOffsetX(int direction) |
| 38 |
@par |
| 39 |
|
| 40 |
The value of @p dir will be automatically wrapped. So a value of 6 will be interpreted as 2. |
| 41 |
|
| 42 |
See the #rcCompactHeightfield documentation for usage details. |
| 43 |
|
| 44 |
-@fn int rcGetDirOffsetY(int dir) |
| 45 |
+@fn int rcGetDirOffsetY(int direction) |
| 46 |
@par |
| 47 |
|
| 48 |
The value of @p dir will be automatically wrapped. So a value of 6 will be interpreted as 2. |
| 49 |
-- |
| 50 |
2.43.0 |
| 51 |
|