mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-19 11:56:01 +08:00
Documentation updated
This commit is contained in:
@ -17,4 +17,23 @@ Projects <i><b>vector A</b></i> onto <i><b>vector B</b></i>.
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|vector|vector3|None|Output vector|
|
||||
|
||||
**ShaderInc location**
|
||||
<br>`res://addons/ShaderLib/Maths/Vector/Project.gdshaderinc`
|
||||
|
||||
**Method signature**
|
||||
<br>`vec2 project_2d(vec2 a, vec2 b)`
|
||||
<br>`vec3 project_3d(vec3 a, vec3 b)`
|
||||
|
||||
**Parameters for 2D**
|
||||
|Name|Type|Description|
|
||||
|---|---|---|
|
||||
|a|vec2|Vector A|
|
||||
|b|vec2|Vector B|
|
||||
|
||||
**Parameters for 3D**
|
||||
|Name|Type|Description|
|
||||
|---|---|---|
|
||||
|a|vec3|Vector A|
|
||||
|b|vec3|Vector B|
|
||||
___
|
Reference in New Issue
Block a user