math.calcBSplineN

From Garry's Mod
Revision as of 15:10, 17 August 2018 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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