math.calcBSplineN

From Garry's Mod
Jump to: navigation, search
 math.calcBSplineN( )

Contents

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

Use math.BSplinePoint instead.

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

Arguments

number i

Arguments

number k

BUG

Sending in a value < 1 will result in an infinite loop.

Pull Request: #1477

Arguments

number t

Arguments

number tinc

Returns

Personal tools
Navigation