diff options
| author | Andre Weissflog <floooh@gmail.com> | 2021-02-19 12:23:56 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2021-02-19 12:23:56 +0100 |
| commit | d54c27f9ea1b10bec1134c06bb40a1b2ad322792 (patch) | |
| tree | f880f0695eecc22ecc509bb9fdab7001917997a2 /util | |
| parent | 412b0dc6e8dd91dc2088a17638b15b458e987bc3 (diff) | |
sokol_shape.h: fix some doc typos
Diffstat (limited to 'util')
| -rw-r--r-- | util/sokol_shape.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/sokol_shape.h b/util/sokol_shape.h index be2a9c6c..195f6232 100644 --- a/util/sokol_shape.h +++ b/util/sokol_shape.h @@ -36,7 +36,7 @@ ================ sokol_shape.h creates vertices and indices for simple shapes and builds structs which can be plugged into sokol-gfx resource - creation descriptor structs. + creation functions: The following shape types are supported: @@ -154,7 +154,7 @@ You can also provide additional creation parameters, like a common vertex color, a debug-helper to randomize colors, tell the shape builder function to merge the new shape with the previous shape into the same draw-element-range, - or a 4x4 transform matrix to move, rotate and scale the generated matrices: + or a 4x4 transform matrix to move, rotate and scale the generated vertices: ```c sshape_buffer_t buf = ...; @@ -179,7 +179,7 @@ assert(buf.valid); ``` - The following helper functions are offered to build a packed + The following helper functions can be used to build a packed color value or to convert from external matrix types: ```c |