CL_Viewpoint::rotate_local - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Viewpoint::rotate_local

Rotates the viewpoint from its local point view.

    	void rotate_local(
    		double angle, double rot_x, double rot_y, double rot_z);

Detailed description:

Rotating in local coordinates means that it is rotated according to its current viewing direction, where the z axis is in the facing direction, and the y axis is in the up direction.

See also:

CL_Viewpoint

Questions or comments, write to the ClanLib mailing list.