![]() |
SH4ZAM! 0.1.0
Fast math library for the Sega Dreamcast's SH4 CPU
|


Go to the source code of this file.
Functions | |
| shz_vec4_t | shz_circle_matrix (unsigned int order, float factor) SHZ_NOEXCEPT |
| shz_vec4_t shz_circle_matrix | ( | unsigned int | order, |
| float | factor ) |
Get the transform matrix to speed up circle drawing.
To compute the final X/Y from the matrix, all you need to do then is: x1 = x0 * matrix.x + y0 * matrix.y; y1 = x0 * matrix.z + y0 * matrix.w;