| 297 | } |
| 298 | |
| 299 | void NativePointArrayToJava(JNIEnv* env, const XnPoint3D* nativeArray, jobjectArray javaArray) |
| 300 | { |
| 301 | int count = env->GetArrayLength(javaArray); |
| 302 | for (int i = 0; i < count; ++i) |
| 303 | { |
| 304 | jobject curr = CreatePoint3D(env, &nativeArray[i]); |
| 305 | env->SetObjectArrayElement(javaArray, i, curr); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | jobject CreateJointPosition(JNIEnv* pEnv, const XnSkeletonJointPosition* pPosition) |
| 310 | { |
no test coverage detected