debian man page for s3d_rotate

Query: s3d_rotate

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

S3D_ROTATE(3)							    s3d Manual							     S3D_ROTATE(3)

NAME
s3d_rotate - rotate object
SYNOPSIS
#include <s3d.h> int s3d_rotate(int object, float x, float y, float z);
DESCRIPTION
Rotate an object around the x, y and z-axis respectively. x,y,z may have values between [0,360] degrees. You will usually only rotate around one axis, leaving the unused fields on 0, I guess. If you want to rotate around more than one axis, please note: The order of the rotation applies is y-axis, x-axis, and then z-axis. You can think of it as the earth position coordinates: x is the longitude, y is the latitude, and z is the rotation at this point of the earth around your bodies axis. (I wonder if that makes it any clearer ;) Warning Rotate is absolute, not relative! s3d_rotate(object, 90, 0, 0); s3d_rotate(object, 180, 0, 0); // object will be rotated 180 degrees around the x-axis, not 270 degress!
AUTHOR
Simon Wunderlich Author of s3d s3d S3D_ROTATE(3)
Related Man Pages
get_rotation_matrix_f(3alleg4) - debian
get_rotation_matrix_f(3alleg4) - centos
get_rotation_matrix(3alleg4) - php
get_rotation_matrix(3alleg4) - opendarwin
get_rotation_matrix_f(3alleg4) - suse
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?