I have a code which is used MemoryWriteBuffer and MemoryReadBuffer
I need to know what is the code that would have to use to get the result that was obtained using MemoryWriteBuffer and MemoryReadBuffer
This is my code where I use:
[i]PxCooking* cooking = PxCreateCooking(PX_PHYSICS_VERSION, mSDK->getFoundation(), PxCookingParams());
bool status = cooking->cookTriangleMesh(meshDesc, buf);
PxTriangleMesh* triangleMesh = mSDK->createTriangleMesh(MemoryReadBuffer(buf.data));[/i]
If I remember correctly MemoryWriteBuffer was previously in the file"stream.h"? But now with PhysX 3.3 can not find it.
Greetings and thanks.