Urho.Vector4.BaryCentric Method

Interpolate 3 Vectors using Barycentric coordinates

Syntax

public static Vector4 BaryCentric (Vector4 a, Vector4 b, Vector4 c, Single u, Single v)

Parameters

a
First input Vector
b
Second input Vector
c
Third input Vector
u
First Barycentric Coordinate
v
Second Barycentric Coordinate

Returns

a when u=v=0, b when u=1,v=0, c when u=0,v=1, and a linear combination of a,b,c otherwise

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0