MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / writeQueryInput

Function writeQueryInput

deps/physx/physx/source/physx/src/NpBatchQuery.cpp:169–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

raycastMethod · 0.85
overlapMethod · 0.85
sweepMethod · 0.85

Calls 1

writeGeomFunction · 0.85

Tested by

no test coverage detected