Garry's Mod Wiki

Revision Difference

math.calcBSplineN#511586

<function name="calcBSplineN" parent="math" type="libraryfunc">⤶ <description>⤶ <internal>Use <page>math.BSplinePoint</page> instead.</internal>⤶ ⤶ Basic code for Bezier-Spline algorithm, helper function for <page>math.BSplinePoint</page>.⤶ </description>⤶ <realm>Shared and Menu</realm>⤶ <file line="96-L136">lua/includes/extensions/math.lua</file>⤶ <args>⤶ <arg name="i" type="number"></arg>⤶ <arg name="k" type="number">&lt;bug pull=&quot;1477&quot;&gt;Sending in a value &amp;amp;lt; 1 will result in an infinite loop.&lt;/bug&gt;</arg>⤶ <arg name="t" type="number"></arg>⤶ <arg name="tinc" type="number"></arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number"></ret>⤶ </rets>⤶ </function>⤶ ⤶