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

Page Links


Special Pages


Wikis

?

Render Time: 80ms

DB GetPage 41
Generate Html 15
SaveChanges (1) 14
Render Body 0
Render Sidebar 7