(gclient_t client, float[] point,
float[] distance, float[] forward, float[] right, float[] result)
| 1043 | }; |
| 1044 | |
| 1045 | public static void P_ProjectSource(gclient_t client, float[] point, |
| 1046 | float[] distance, float[] forward, float[] right, float[] result) { |
| 1047 | float[] _distance = { 0, 0, 0 }; |
| 1048 | |
| 1049 | Math3D.VectorCopy(distance, _distance); |
| 1050 | if (client.pers.hand == Defines.LEFT_HANDED) |
| 1051 | _distance[1] *= -1; |
| 1052 | else if (client.pers.hand == Defines.CENTER_HANDED) |
| 1053 | _distance[1] = 0; |
| 1054 | Math3D.G_ProjectSource(point, _distance, forward, right, result); |
| 1055 | } |
| 1056 | |
| 1057 | /* |
| 1058 | * =============== |
no test coverage detected