path_change_point(ind,n,x,y,speed)
Revision as of 13:31, 14 July 2013 by RobertBColton (talk | contribs)
Description
Changes the point n^{th} in the give path to position (x,y) with the given speed factor.
Parameters
Parameter | Data Type | Description |
---|---|---|
ind | unsigned | index of the path |
n | unsigned | n^{th} index of the point |
x | double | x coordinate of the point |
y | double | y coordinate |
speed | double | speed factor (between 0 and 100) |
Return Values
void: This function does not return anything.
Example Call
// demonstrates changing the second point in a path
path_chance_point(mypath, 1, 50, 50, 100);