path_change_point(ind,n,x,y,speed)

From ENIGMA
Jump to navigation Jump to search

Description

Changes the point nth 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 nth 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);