anancds / document

MIT License
1 stars 0 forks source link

how to cast void* to shared_ptr<mytype> #146

Open anancds opened 3 years ago

anancds commented 3 years ago

std::shared_ptr u_poi = static_cast< std::shared_ptr >(RayCallback.m_collisionObject->getUserPointer());