QBezier.f C# (CSharp) Method

f() public method

public f ( float t ) : PathPoint,
t float
return PathPoint,
    public PathPoint f(float t)
    {
        float tp = 1.0f - t;
        return new PathPoint(
                    _x0 * tp * tp + 2.0f * _cx * t * tp + _x1 * t * t,
                    _y0 * tp * tp + 2.0f * _cy * t * tp + _y1 * t * t,
                    _z0 * tp * tp + 2.0f * _cz * t * tp + _z1 * t * t);
    }