---
name: "s3d_scale"
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_scale"
---

# s3d\_scale(3)

scale object

## NAME

s3d\_scale - scale object

## SYNOPSIS

```
#include <s3d.h>
```

**int s3d\_scale(int** *object***, float** *s***);**

## DESCRIPTION

Scales the object. about factor s. s=1 will be the original size, -1 will mirror it.

**Warning**\

s=0 is forbidden and will be ignored! s3d\_scale is also absolute, not relative!

## AUTHOR

**Simon Wunderlich**

Author of s3d
