Rechercher une page de manuel
s3d_push_vertices
Langue: en
Version: 266962 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
s3d_push_vertices - push many verticesSYNOPSIS
#include <s3d.h>
- int s3d_push_vertices(int object, const float *vbuf, uint16_t n);
DESCRIPTION
- Push some vertices from an array. that's much better for performing than using s3d_push_vertex() if you have a lot of vertices (and that's probably the usual case).
-
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
AUTHOR
Simon Wunderlich
- Author of s3d
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre