---
name: "s3d_push_vertices"
section: "3"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3d_push_vertices"
---

# s3d\_push\_vertices(3)

push many vertices

## NAME

s3d\_push\_vertices - push many vertices

## SYNOPSIS

```
#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
