vphysics_bullet/Physics_Environment.cpp
void CPhysicsEnvironment::TickCallback(btDynamicsWorld *world, btScalar timeStep) {
	if (!world) return;

	CPhysicsEnvironment *pEnv = static_cast<CPhysicsEnvironment*>(world->getWorldUserInfo());
	if (pEnv)
		pEnv->BulletTick(timeStep);
}
// Don't call this directly
Don't call this directly
Don ' t call this directly
void CPhysicsEnvironment::TickCallback(btDynamicsWorld *world, btScalar timeStep) {
	if (!world) return;
	CPhysicsEnvironment *pEnv = static_cast<CPhysicsEnvironment*>(world->getWorldUserInfo());
	if (pEnv)
		pEnv->BulletTick(timeStep);
}
void CPhysicsEnvironment :: TickCallback ( btDynamicsWorld * world , btScalar timeStep ) { if ( ! world ) return ; CPhysicsEnvironment * pEnv = static_cast < CPhysicsEnvironment * > ( world -> getWorldUserInfo ( ) ) ; if ( pEnv ) pEnv -> BulletTick ( timeStep ) ; }
Don't call this directly
Don ' t call this directly