MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getType

Method getType

include/reactphysics3d/components/JointComponents.h:186–189  ·  view source on GitHub ↗

Return the type of a joint

Source from the content-addressed store, hash-verified

184
185// Return the type of a joint
186RP3D_FORCE_INLINE JointType JointComponents::getType(Entity jointEntity) const {
187 assert(mMapEntityToComponentIndex.containsKey(jointEntity));
188 return mTypes[mMapEntityToComponentIndex[jointEntity]];
189}
190
191// Return the position correction technique of a joint
192RP3D_FORCE_INLINE JointsPositionCorrectionTechnique JointComponents::getPositionCorrectionTechnique(Entity jointEntity) const {

Callers

nothing calls this directly

Calls 1

containsKeyMethod · 0.80

Tested by

no test coverage detected