- Look up
AISwitchin the Library Manager and install the latest version - Insert the following snippet
#include AISwitch.hclass AISwitch = { float x[n], float y[n], float a, float b, float alpha }Parameters
float xFirst number setfloat ySecond number setfloat a- Default value 0
Example
<Example>