s3d_push_vertices(3)

s3d_push_vertices3

Push many vertices

Usage

#include <s3d.h>

int s3d_push_vertices(int object, const float *vbuf, uint16_t n);

Overview

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

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–13

Author

Simon Wunderlich

Author of s3d

From s3d-doc 0.2.2.1-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.