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

Function writeQueryInput

physx/source/physx/src/NpBatchQuery.cpp:168–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168static void writeQueryInput(BatchQueryStream& stream, const MultiQueryInput& input)
169{
170 stream.write<MultiQueryInput>(input);
171 if (input.rayOrigin)
172 stream.write<PxVec3>(input.rayOrigin);
173 if (input.unitDir)
174 stream.write<PxVec3>(input.unitDir);
175 if (input.pose)
176 stream.write<PxTransform>(input.pose);
177 if (input.geometry)
178 writeGeom(stream, *input.geometry);
179}
180
181static MultiQueryInput* readQueryInput(BatchQueryStreamReader& stream)
182{

Callers 3

raycastMethod · 0.85
overlapMethod · 0.85
sweepMethod · 0.85

Calls 1

writeGeomFunction · 0.85

Tested by

no test coverage detected