Functions | |
| void | common::SphericalToCartesian (VEC3 *Out, float Yaw, float Pitch, float R) |
| Tu można podawać co się chce. | |
| void | common::CartesianToSpherical (float *OutYaw, float *OutPitch, float *OutR, const VEC3 &Pos) |
| void common::CartesianToSpherical | ( | float * | OutYaw, | |
| float * | OutPitch, | |||
| float * | OutR, | |||
| const VEC3 & | Pos | |||
| ) |
| [out] | Yaw | Wychodzi -PI..PI. Można podać NULL, jeśli akurat nas nie interesuje - wtedy liczy szybciej. |
| [out] | Pitch | Wychodzi -PI/2..PI/2. Można podać NULL, jeśli akurat nas nie interesuje - wtedy liczy szybciej. |
| [out] | R | Wychodzi > 0. Można podać NULL, jeśli akurat nas nie interesuje - wtedy liczy szybciej. |
| Pos | Nie podawać wektora zerowego bo wyjdą buraki. |
| void common::SphericalToCartesian | ( | VEC3 * | Out, | |
| float | Yaw, | |||
| float | Pitch, | |||
| float | R | |||
| ) |
Tu można podawać co się chce.
1.6.1