File: 0031-Fixed-old-parameter-names-in-out-of-line-Recast-func.patch

package info (click to toggle)
recastnavigation 1.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,892 kB
  • sloc: cpp: 50,116; ansic: 2,674; xml: 182; makefile: 16
file content (51 lines) | stat: -rw-r--r-- 1,609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From b2d8fa9796712f8271885e98a85fa07f6fb956c2 Mon Sep 17 00:00:00 2001
From: Graham Pentheny <graham.pentheny@gmail.com>
Date: Sun, 7 Jan 2024 16:08:28 -0500
Subject: [PATCH 31/36] Fixed old parameter names in out-of-line Recast
 function documentation

---
 Docs/Extern/Recast_api.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Docs/Extern/Recast_api.txt b/Docs/Extern/Recast_api.txt
index 6cd4c63..90db1d4 100644
--- a/Docs/Extern/Recast_api.txt
+++ b/Docs/Extern/Recast_api.txt
@@ -650,14 +650,14 @@ if (((flags >> 2) & 0x3) != 0)
 }
 @endcode
 
-@fn void rcSetCon(rcCompactSpan &s, int dir, int i)
+@fn void rcSetCon(rcCompactSpan &span, int direction, int neighborIndex)
 @par
 
 This function is used by the build process. It is rarely of use to end users.
 
 @see #rcCompactHeightfield, #rcCompactSpan
 
-@fn int rcGetCon(const rcCompactSpan &s, int dir)
+@fn int rcGetCon(const rcCompactSpan &span, int direction)
 @par
 
 Can be used to locate neighbor spans in a compact heightfield. See the 
@@ -665,14 +665,14 @@ Can be used to locate neighbor spans in a compact heightfield. See the
 
 @see #rcCompactHeightfield, #rcCompactSpan
 
-@fn int rcGetDirOffsetX(int dir)
+@fn int rcGetDirOffsetX(int direction)
 @par
 
 The value of @p dir will be automatically wrapped. So a value of 6 will be interpreted as 2.
 
 See the #rcCompactHeightfield documentation for usage details.
 
-@fn int rcGetDirOffsetY(int dir)
+@fn int rcGetDirOffsetY(int direction)
 @par
 
 The value of @p dir will be automatically wrapped. So a value of 6 will be interpreted as 2.
-- 
2.43.0