Complex multiplication `c = a * b`. Arguments may be the same pointers. Example: cmultf(ar, ai, br, bi, &ar, &ai); */
| 174 | cmultf(ar, ai, br, bi, &ar, &ai); |
| 175 | */ |
| 176 | inline void complexMult(float ar, float ai, float br, float bi, float* cr, float* ci) { |
| 177 | *cr = ar * br - ai * bi; |
| 178 | *ci = ar * bi + ai * br; |
| 179 | } |
| 180 | |
| 181 | //////////////////// |
| 182 | // 2D vector and rectangle |
nothing calls this directly
no outgoing calls
no test coverage detected