debian man page for s3d_push_polygons

Query: s3d_push_polygons

OS: debian

Section: 3

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

S3D_PUSH_POLYGONS(3)						    s3d Manual						      S3D_PUSH_POLYGONS(3)

NAME
s3d_push_polygons - push many polygons
SYNOPSIS
#include <s3d.h> int s3d_push_polygons(int object, const uint32_t *pbuf, uint16_t n);
DESCRIPTION
As for vertices, you can push arrays of polygons to have greater performance. The pbuf should contain n polygons which consist of 4 uint32_t values of 3 vertices indices and 1 material index. uint32_t pbuf[] = { 0, 1, 2, 0}; int oid = s3d_new_object(); // create a new object s3d_push_vertex(oid, 0.0, 0.0, 0.0); s3d_push_vertex(oid, 0.0, 1.0, 0.0); s3d_push_vertex(oid, 1.0, 0.0, 0.0); s3d_push_material(oid, 0.3, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0); s3d_push_polygons(oid, pbuf, 1); // push one polygon with the pbuf data
AUTHOR
Simon Wunderlich Author of s3d s3d S3D_PUSH_POLYGONS(3)
Related Man Pages
mp_enableautofailback(3mpapi) - opensolaris
mp_getdeviceproductproperties(3mpapi) - opensolaris
mp_getpathlogicalunitproperties(3mpapi) - opensolaris
gssapi::oid(3) - osx
gssapi::oid5.12(3) - osx
Similar Topics in the Unix Linux Community
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
Weird 'find' results
New UNIX and Linux History Sections