'\" t .\" Title: s3d_obj_info .\" Author: Simon Wunderlich .\" Generator: DocBook XSL Stylesheets .\" .\" Manual: s3d Manual .\" Source: s3d .\" Language: English .\" .TH "S3D_OBJ_INFO" "9" "" "s3d" "s3d Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" s3d_obj_info \- object information .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .SH "STRUCTURE MEMBERS" .sp .if n \{\ .RS 4 .\} .nf struct s3d_obj_info { uint32_t object; uint32_t flags; float trans_x; float trans_y; float trans_z; float rot_x; float rot_y; float rot_z; float scale; float r; char name; } .fi .if n \{\ .RE .\} .SH "DESCRIPTION" .PP Can be used on the buffer of an event of type S3D_EVENT_OBJ_INFO\&. name will usually contain nothing for usual objects, but mcp objects will contain the applications names here\&. r is the radius of the convex sphere an object, which will also be interesting for the mcp\&. .PP Special objects like camera, pointer will have the "sys_" prefix in the name and will be named "pointer0", "pointer1" \&.\&.\&. or "cam0", "cam1" \&.\&.\&. For cam object, scale will contain the aspect ratio\&. .SH "AUTHOR" .PP \fBSimon Wunderlich\fR .RS 4 Author of s3d .RE