Garry's Mod Wiki

math.calcBSplineN

  number math.calcBSplineN( number i, number k, number t, number tinc )

Description

This is used internally - although you're able to use it you probably shouldn't. Use math.BSplinePoint instead.

Basic code for Bezier-Spline algorithm, helper function for math.BSplinePoint.

Arguments

1 number i
2 number k
Sending in a value < 1 will result in an infinite loop.
3 number t
4 number tinc

Returns