diff --git a/documentation/Nodes/Maths/Vector/Distance/ChebyshevDistance.md b/documentation/Nodes/Maths/Vector/Distance/ChebyshevDistance.md index 866d179..8da8ff2 100644 --- a/documentation/Nodes/Maths/Vector/Distance/ChebyshevDistance.md +++ b/documentation/Nodes/Maths/Vector/Distance/ChebyshevDistance.md @@ -18,4 +18,26 @@ Returns the distance between two points using Chebyshev distance matrix. |Name|Type|Binding|Description| |---|---|---|---| |distance|float|None|Distance between 2 points| + +**ShaderInc location** +
For 2D - `res://addons/ShaderLib/Maths/Vector/Distance/Chebyshev2D.gdshaderinc` +
For 3D - `res://addons/ShaderLib/Maths/Vector/Distance/Chebyshev3D.gdshaderinc` + +**Method signature** +
For 2D - `float chebyshev_distance_2d(vec2 point1, vec2 point2, float power)` +
For 3D - `float chebyshev_distance_3d(vec3 point1, vec3 point2, float power)` + +**Parameters for 2D** +|Name|Type|Description| +|---|---|---| +|point1|vec2|Point a| +|point2|vec2|Point b| +|power|float|Power for Chebyshev distance| + +**Parameters for 3D** +|Name|Type|Description| +|---|---|---| +|point1|vec3|Point a| +|point2|vec3|Point b| +|power|float|Power for Chebyshev distance| ___ \ No newline at end of file diff --git a/documentation/Nodes/Maths/Vector/Distance/ManhattanDistance.md b/documentation/Nodes/Maths/Vector/Distance/ManhattanDistance.md index a1a2d4a..245a61c 100644 --- a/documentation/Nodes/Maths/Vector/Distance/ManhattanDistance.md +++ b/documentation/Nodes/Maths/Vector/Distance/ManhattanDistance.md @@ -17,4 +17,24 @@ Returns the distance between two points using Manhattan distance matrix. |Name|Type|Binding|Description| |---|---|---|---| |distance|float|None|Distance between 2 points| + +**ShaderInc location** +
For 2D - `res://addons/ShaderLib/Maths/Vector/Distance/Manhattan2D.gdshaderinc` +
For 3D - `res://addons/ShaderLib/Maths/Vector/Distance/Manhattan3D.gdshaderinc` + +**Method signature** +
For 2D - `float manhattan_distance_2d(vec2 point1, vec2 point2)` +
For 3D - `float manhattan_distance_3d(vec3 point1, vec3 point2)` + +**Parameters for 2D** +|Name|Type|Description| +|---|---|---| +|point1|vec2|Point a| +|point2|vec2|Point b| + +**Parameters for 3D** +|Name|Type|Description| +|---|---|---| +|point1|vec3|Point a| +|point2|vec3|Point b| ___ \ No newline at end of file diff --git a/documentation/Nodes/Maths/Wave/NoiseSineWave.md b/documentation/Nodes/Maths/Wave/NoiseSineWave.md index 417d4f7..0199d13 100644 --- a/documentation/Nodes/Maths/Wave/NoiseSineWave.md +++ b/documentation/Nodes/Maths/Wave/NoiseSineWave.md @@ -17,4 +17,16 @@ Returns the sine of the value of input in. For variance, psuedo-ra |Name|Type|Binding|Description| |---|---|---|---| |out|Dynamic vector|None|Output value| + +**ShaderInc location** +
`res://addons/ShaderLib/Maths/Wave/NoiseSineWave.gdshaderinc` + +**Method signature** +
`vec4 noise_sine_wave(vec4 input, vec2 min_max)` + +**Parameters** +|Name|Type|Description| +|---|---|---| +|input|vec4|Input vector| +|min_max|vec2|Minimum and Maximum values for noise intensity| ___ \ No newline at end of file