Skip to content

Commit

Permalink
glue: whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jan 17, 2025
1 parent 2b650b1 commit e7ac1c5
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/main/native/glue/co/Constraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,4 +247,4 @@ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_Constraint_toRef
Ref<Constraint> * const pResult = new Ref<Constraint>(pConstraint);
TRACE_NEW("Ref<Constraint>", pResult)
return reinterpret_cast<jlong> (pResult);
}
}
2 changes: 1 addition & 1 deletion src/main/native/glue/m/Mat44.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,4 +434,4 @@ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_Mat44_sTranslation
TRACE_NEW("Mat44", pResult)
*pResult = Mat44::sTranslation(offset);
return reinterpret_cast<jlong> (pResult);
}
}
8 changes: 4 additions & 4 deletions src/main/native/glue/n/NarrowPhaseQuery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ JNIEXPORT void JNICALL Java_com_github_stephengold_joltjni_NarrowPhaseQuery_cast
const NarrowPhaseQuery * const pQuery
= reinterpret_cast<NarrowPhaseQuery *> (queryVa);
const RShapeCast * const pShapeCast
= reinterpret_cast<RShapeCast *>(shapeCastVa);
= reinterpret_cast<RShapeCast *> (shapeCastVa);
const ShapeCastSettings * const pSettings
= reinterpret_cast<ShapeCastSettings *>(settingsVa);
= reinterpret_cast<ShapeCastSettings *> (settingsVa);
const RVec3 baseOffset(baseX, baseY, baseZ);
CastShapeCollector * const pCollector
= reinterpret_cast<CastShapeCollector *>(collectorVa);
= reinterpret_cast<CastShapeCollector *> (collectorVa);
const BroadPhaseLayerFilter * const pBplFilter
= reinterpret_cast<BroadPhaseLayerFilter *> (bplFilterVa);
const ObjectLayerFilter * const pOlFilter
Expand All @@ -123,7 +123,7 @@ JNIEXPORT void JNICALL Java_com_github_stephengold_joltjni_NarrowPhaseQuery_coll
= reinterpret_cast<NarrowPhaseQuery *> (queryVa);
const RVec3 point(xx, yy, zz);
CollidePointCollector * const pCollector
= reinterpret_cast<CollidePointCollector *>(collectorVa);
= reinterpret_cast<CollidePointCollector *> (collectorVa);
const BroadPhaseLayerFilter * const pBplFilter
= reinterpret_cast<BroadPhaseLayerFilter *> (bplFilterVa);
const ObjectLayerFilter * const pOlFilter
Expand Down
2 changes: 1 addition & 1 deletion src/main/native/glue/p/PulleyConstraintSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,4 +349,4 @@ JNIEXPORT void JNICALL Java_com_github_stephengold_joltjni_PulleyConstraintSetti
= reinterpret_cast<PulleyConstraintSettings *> (settingsVa);
const EConstraintSpace space = (EConstraintSpace) ordinal;
pSettings->mSpace = space;
}
}
2 changes: 1 addition & 1 deletion src/main/native/glue/s/SixDofConstraintSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,4 +590,4 @@ JNIEXPORT void JNICALL Java_com_github_stephengold_joltjni_SixDofConstraintSetti
SixDOFConstraintSettings * const pSettings
= reinterpret_cast<SixDOFConstraintSettings *> (settingsVa);
pSettings->mSwingType = (ESwingType) ordinal;
}
}
2 changes: 1 addition & 1 deletion src/main/native/glue/s/SwingTwistConstraintSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,4 +584,4 @@ JNIEXPORT void JNICALL Java_com_github_stephengold_joltjni_SwingTwistConstraintS
const MotorSettings * const pMotorSettings
= reinterpret_cast<MotorSettings *> (motorSettingsVa);
pConstraintSettings->mTwistMotorSettings = *pMotorSettings;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_TrackedVehicleContro
VehicleTrackSettings * const pResult
= &pVehicleSettings->mTracks[trackIndex];
return reinterpret_cast<jlong> (pResult);
}
}
2 changes: 1 addition & 1 deletion src/main/native/glue/t/TwoBodyConstraintSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_TwoBodyConstraintSet
= new Ref<TwoBodyConstraintSettings>(pSettings);
TRACE_NEW("Ref<TwoBodyConstraintSettings>", pResult)
return reinterpret_cast<jlong> (pResult);
}
}
2 changes: 1 addition & 1 deletion src/main/native/glue/w/Wheel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_Wheel_getSettings
const Wheel * const pWheel = reinterpret_cast<Wheel *> (wheelVa);
const WheelSettings * const pResult = pWheel->GetSettings();
return reinterpret_cast<jlong> (pResult);
}
}

0 comments on commit e7ac1c5

Please sign in to comment.