Xiqual 0.9.1

In file xitools/node_makecircular.c:

int node_makecircular

(Node* node)

Make a chain of nodes circular (first and last Node points to eachother).

Documentation

Make a chain of nodes circular (first and last Node points to eachother). A circular list is used mostly for efficient looping of animations (which means only a typical, lazy programmer could have thought of it). This function does not necessarily require a List structure.

Do NOT call on a Node in an already circular chain. That's a waste of time ;)

Parameters:
node - A Node used as reference point.
Author:
Shane O'Neill
See Also:
List, Node, list_add(), list_remove(), list_delete(), list_nodeend(), list_nodestart()

Alphabetic index



This page was generated with the help of DOC++.