Home | All Classes | Grouped Classes | Index | Search

CL_Display::push_translate

Push translation offset onto model view stack.

	void push_translate(
		double x, double y, double z = 0.0);

Detailed description:

This function is a convenience function for calling push_modelview, then add_translate.

This offset will affect any subsequent display operations on the current displaycard, by translating the position of the display operation with the offset. The offset will be offset by any previous offsets pushed onto the stack, eg. it inherits the previous offset.

See also:

CL_Display



Questions or comments, write to the ClanLib mailing list.