MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / resolveConstraintPtr

Method resolveConstraintPtr

physx/source/physxextensions/src/ExtJoint.cpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40using namespace Ext;
41
42PxConstraint* physx::resolveConstraintPtr(PxDeserializationContext& v,
43 PxConstraint* old,
44 PxConstraintConnector* connector,
45 PxConstraintShaderTable &shaders)
46{
47 v.translatePxBase(old);
48 PxConstraint* new_nx = static_cast<PxConstraint*>(old);
49 new_nx->setConstraintFunctions(*connector, shaders);
50 return new_nx;
51}
52//~PX_SERIALIZATION
53
54

Callers

nothing calls this directly

Calls 2

translatePxBaseMethod · 0.80

Tested by

no test coverage detected