Skip to content

Commit

Permalink
BodyCreationSettings.cpp: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 7, 2024
1 parent 3141086 commit 227c7be
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,7 @@ JNIEXPORT void JNICALL Java_com_github_stephengold_joltjni_BodyCreationSettings_
(JNIEnv *, jclass, jlong bodySettingsVa, jdouble locX, jdouble locY, jdouble locZ) {
BodyCreationSettings * const pSettings
= reinterpret_cast<BodyCreationSettings *> (bodySettingsVa);
RVec3 rvec3(locX, locY, locZ);
pSettings->mPosition = rvec3;
pSettings->mPosition.Set(locX, locY, locZ);
}

/*
Expand Down

0 comments on commit 227c7be

Please sign in to comment.