cf_draw3d_scale¶
Category: draw3d
GitHub: cute_draw3d.h
Scales the current 3d coordinate system.
| Parameters | Description |
|---|---|
s |
The per-axis scale. cf_v3(2.0f) splats a uniform scale. |
Remarks¶
Non-uniform scale is handled correctly by baked draw lists (exact per-instance normal matrices); the immediate path derives normals from the model rows, which skews under non-uniform scale. See the shader contract at the top of this header.
Related Pages¶
cf_draw3d_push
cf_draw3d_pop
cf_draw3d_translate
cf_draw3d_rotate
cf_draw3d_transform