'\" t .\" Title: s3d_push_vertices .\" Author: Simon Wunderlich .\" Generator: DocBook XSL Stylesheets .\" .\" Manual: s3d Manual .\" Source: s3d .\" Language: English .\" .TH "S3D_PUSH_VERTICES" "3" "" "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_push_vertices \- push many vertices .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .HP \w'int\ s3d_push_vertices('u .BI "int s3d_push_vertices(int\ " "object" ", const\ float\ *" "vbuf" ", uint16_t\ " "n" ");" .SH "DESCRIPTION" .PP Push some vertices from an array\&. that\*(Aqs much better for performing than using s3d_push_vertex() if you have a lot of vertices (and that\*(Aqs probably the usual case)\&. .sp .if n \{\ .RS 4 .\} .nf float vertices[] = { 0\&.0, 0\&.0, 0\&.0, 1\&.0, 2\&.0, 3\&.0, 3\&.0, 2\&.0, 1\&.0}; s3d_push_vertices(object, vertices, 3); // pushing 3 vertices .fi .if n \{\ .RE .\} .SH "AUTHOR" .PP \fBSimon Wunderlich\fR .RS 4 Author of s3d .RE