From b4dcb3996b22a3963f219f98d7e5318745d7ea55 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 26 Jul 2022 15:16:21 +0200 Subject: [PATCH] Ported: Remove Array link in description of PoolArrays - timothyqiu https://github.com/godotengine/godot/commit/4fda4f31c236320133c23727f3298e0ff4f0fa76 --- doc/classes/PoolByteArray.xml | 6 +++--- doc/classes/PoolColorArray.xml | 6 +++--- doc/classes/PoolIntArray.xml | 6 +++--- doc/classes/PoolRealArray.xml | 8 ++++---- doc/classes/PoolStringArray.xml | 6 +++--- doc/classes/PoolVector2Array.xml | 6 +++--- doc/classes/PoolVector3Array.xml | 6 +++--- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/doc/classes/PoolByteArray.xml b/doc/classes/PoolByteArray.xml index 9bde635a3..ff9d2aac5 100644 --- a/doc/classes/PoolByteArray.xml +++ b/doc/classes/PoolByteArray.xml @@ -1,10 +1,10 @@ - A pooled [Array] of bytes. + A pooled Array of bytes. - An [Array] specifically designed to hold bytes. Optimized for memory usage, does not fragment the memory. + An Array specifically designed to hold bytes. Optimized for memory usage, does not fragment the memory. [b]Note:[/b] This type is passed by value and not by reference. @@ -14,7 +14,7 @@ - Constructs a new [PoolByteArray]. Optionally, you can pass in a generic [Array] that will be converted. + Constructs a new [PoolByteArray]. Optionally, you can pass in a generic Array that will be converted. diff --git a/doc/classes/PoolColorArray.xml b/doc/classes/PoolColorArray.xml index f0b413bb3..bb078b3e9 100644 --- a/doc/classes/PoolColorArray.xml +++ b/doc/classes/PoolColorArray.xml @@ -1,10 +1,10 @@ - A pooled [Array] of [Color]. + A pooled Array of [Color]. - An [Array] specifically designed to hold [Color]. Optimized for memory usage, does not fragment the memory. + An Array specifically designed to hold [Color]. Optimized for memory usage, does not fragment the memory. [b]Note:[/b] This type is passed by value and not by reference. @@ -14,7 +14,7 @@ - Constructs a new [PoolColorArray]. Optionally, you can pass in a generic [Array] that will be converted. + Constructs a new [PoolColorArray]. Optionally, you can pass in a generic Array that will be converted. diff --git a/doc/classes/PoolIntArray.xml b/doc/classes/PoolIntArray.xml index e19ba1409..d1f0a22bb 100644 --- a/doc/classes/PoolIntArray.xml +++ b/doc/classes/PoolIntArray.xml @@ -1,10 +1,10 @@ - A pooled [Array] of integers ([int]). + A pooled Array of integers ([int]). - An [Array] specifically designed to hold integer values ([int]). Optimized for memory usage, does not fragment the memory. + An Array specifically designed to hold integer values ([int]). Optimized for memory usage, does not fragment the memory. [b]Note:[/b] This type is passed by value and not by reference. [b]Note:[/b] This type is limited to signed 32-bit integers, which means it can only take values in the interval [code][-2^31, 2^31 - 1][/code], i.e. [code][-2147483648, 2147483647][/code]. Exceeding those bounds will wrap around. In comparison, [int] uses signed 64-bit integers which can hold much larger values. @@ -15,7 +15,7 @@ - Constructs a new [PoolIntArray]. Optionally, you can pass in a generic [Array] that will be converted. + Constructs a new [PoolIntArray]. Optionally, you can pass in a generic Array that will be converted. diff --git a/doc/classes/PoolRealArray.xml b/doc/classes/PoolRealArray.xml index fcb0678f6..4bc7e476a 100644 --- a/doc/classes/PoolRealArray.xml +++ b/doc/classes/PoolRealArray.xml @@ -1,12 +1,12 @@ - A pooled [Array] of reals ([float]). + A pooled Array of reals ([float]). - An [Array] specifically designed to hold floating-point values. Optimized for memory usage, does not fragment the memory. + An Array specifically designed to hold floating-point values. Optimized for memory usage, does not fragment the memory. [b]Note:[/b] This type is passed by value and not by reference. - [b]Note:[/b] Unlike primitive [float]s which are 64-bit, numbers stored in [PoolRealArray] are 32-bit floats. This means values stored in [PoolRealArray] have lower precision compared to primitive [float]s. If you need to store 64-bit floats in an array, use a generic [Array] with [float] elements as these will still be 64-bit. However, using a generic [Array] to store [float]s will use roughly 6 times more memory compared to a [PoolRealArray]. + [b]Note:[/b] Unlike primitive [float]s which are 64-bit, numbers stored in [PoolRealArray] are 32-bit floats. This means values stored in [PoolRealArray] have lower precision compared to primitive [float]s. If you need to store 64-bit floats in an array, use a generic Array with [float] elements as these will still be 64-bit. However, using a generic Array to store [float]s will use roughly 6 times more memory compared to a [PoolRealArray]. @@ -15,7 +15,7 @@ - Constructs a new [PoolRealArray]. Optionally, you can pass in a generic [Array] that will be converted. + Constructs a new [PoolRealArray]. Optionally, you can pass in a generic Array that will be converted. diff --git a/doc/classes/PoolStringArray.xml b/doc/classes/PoolStringArray.xml index 84036af55..123ae160b 100644 --- a/doc/classes/PoolStringArray.xml +++ b/doc/classes/PoolStringArray.xml @@ -1,10 +1,10 @@ - A pooled [Array] of [String]. + A pooled Array of [String]. - An [Array] specifically designed to hold [String]s. Optimized for memory usage, does not fragment the memory. + An Array specifically designed to hold [String]s. Optimized for memory usage, does not fragment the memory. [b]Note:[/b] This type is passed by value and not by reference. @@ -15,7 +15,7 @@ - Constructs a new [PoolStringArray]. Optionally, you can pass in a generic [Array] that will be converted. + Constructs a new [PoolStringArray]. Optionally, you can pass in a generic Array that will be converted. diff --git a/doc/classes/PoolVector2Array.xml b/doc/classes/PoolVector2Array.xml index 9fbc32be4..21fe185dd 100644 --- a/doc/classes/PoolVector2Array.xml +++ b/doc/classes/PoolVector2Array.xml @@ -1,10 +1,10 @@ - A pooled [Array] of [Vector2]. + A pooled Array of [Vector2]. - An [Array] specifically designed to hold [Vector2]. Optimized for memory usage, does not fragment the memory. + An Array specifically designed to hold [Vector2]. Optimized for memory usage, does not fragment the memory. [b]Note:[/b] This type is passed by value and not by reference. @@ -15,7 +15,7 @@ - Constructs a new [PoolVector2Array]. Optionally, you can pass in a generic [Array] that will be converted. + Constructs a new [PoolVector2Array]. Optionally, you can pass in a generic Array that will be converted. diff --git a/doc/classes/PoolVector3Array.xml b/doc/classes/PoolVector3Array.xml index 7a6478210..a2e8b53f5 100644 --- a/doc/classes/PoolVector3Array.xml +++ b/doc/classes/PoolVector3Array.xml @@ -1,10 +1,10 @@ - A pooled [Array] of [Vector3]. + A pooled Array of [Vector3]. - An [Array] specifically designed to hold [Vector3]. Optimized for memory usage, does not fragment the memory. + An Array specifically designed to hold [Vector3]. Optimized for memory usage, does not fragment the memory. [b]Note:[/b] This type is passed by value and not by reference. @@ -14,7 +14,7 @@ - Constructs a new [PoolVector3Array]. Optionally, you can pass in a generic [Array] that will be converted. + Constructs a new [PoolVector3Array]. Optionally, you can pass in a generic Array that will be converted.