2d linear interpolation in x and y direction for 3d-vectors
Namespace: VVVV.Utils.VMathAssembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871
Syntax
C# |
---|
public static Vector3D Bilerp( Vector2D Input, Vector3D P1, Vector3D P2, Vector3D P3, Vector3D P4 ) |
Parameters
- Input
- Type: VVVV.Utils.VMath..::..Vector2D
The position where to interpolate, 0..1
- P1
- Type: VVVV.Utils.VMath..::..Vector3D
Upper left vector
- P2
- Type: VVVV.Utils.VMath..::..Vector3D
Upper right vector
- P3
- Type: VVVV.Utils.VMath..::..Vector3D
Lower right vector
- P4
- Type: VVVV.Utils.VMath..::..Vector3D
Lower left vector