debian man page for s3d_push_polygon

Query: s3d_push_polygon

OS: debian

Section: 3

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

S3D_PUSH_POLYGON(3)						    s3d Manual						       S3D_PUSH_POLYGON(3)

NAME
s3d_push_polygon - push polygon
SYNOPSIS
#include <s3d.h> int s3d_push_polygon(int object, uint32_t v1, uint32_t v2, uint32_t v3, uint32_t material);
DESCRIPTION
Push one polygon on the polygon stack of the object. It takes 3 vertex-index numbers and one material material-index-no. as argument. 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_polygon(oid, 0, 1, 2, 0); // this will create a red polygon
AUTHOR
Simon Wunderlich Author of s3d s3d S3D_PUSH_POLYGON(3)
Related Man Pages
gssapi::oid(3) - mojave
mp_getassociatedpluginoid(3mpapi) - opensolaris
mp_getdeviceproductproperties(3mpapi) - opensolaris
mp_getpluginproperties(3mpapi) - opensolaris
gssapi::oid(3) - centos
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections