File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -520,6 +520,21 @@ JNIEXPORT jfloat JNICALL Java_com_github_stephengold_joltjni_CharacterVirtual_ge
520
520
return result;
521
521
}
522
522
523
+ /*
524
+ * Class: com_github_stephengold_joltjni_CharacterVirtual
525
+ * Method: getTransformedShape
526
+ * Signature: (J)J
527
+ */
528
+ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_CharacterVirtual_getTransformedShape
529
+ (JNIEnv *, jclass, jlong characterVa) {
530
+ const CharacterVirtual * const pCharacter
531
+ = reinterpret_cast <CharacterVirtual *> (characterVa);
532
+ const TransformedShape & shape = pCharacter->GetTransformedShape ();
533
+ TransformedShape * const pResult = new TransformedShape (shape);
534
+ TRACE_NEW (" TransformedShape" , pResult)
535
+ return reinterpret_cast <jlong> (pResult);
536
+ }
537
+
523
538
/*
524
539
* Class: com_github_stephengold_joltjni_CharacterVirtual
525
540
* Method: getUserData
You can’t perform that action at this time.
0 commit comments